Update linked table

  • Thread starter Thread starter Peter Neumaier
  • Start date Start date
doesnt work, after editing the textfield, the value jumps automatically
to 12:00 am
 
OKIDO
Please retain all text when answering in newsgroups, it is annoying to have
to read all previous ones when it's no longer fresh in memory

Private Sub Text1_AfterUpdate
On Error Resume Next
' handle mm/dd/yy
Me.Text1 =
DateSerial(right(me.text1,2),Left(me.text1,2),Mid(me.text1,4,2))
Me.Dirty = False
End Sub

Pieter

PS what happened to your data when you closed the form?
All my code did was to save the edited data
 
OKIDO
Please retain all text when answering in newsgroups, it is annoying to have
to read all previous ones when it's no longer fresh in memory

Private Sub Text1_AfterUpdate
On Error Resume Next
' handle mm/dd/yy
Me.Text1 =
DateSerial(right(me.text1,2),Left(me.text1,2),Mid(me.text1,4,2))
Me.Dirty = False
End Sub

Pieter

PS what happened to your data when you closed the form?
All my code did was to save the edited data
 
pieter,

it's working, thx man ;)
Pieter said:
OKIDO
Please retain all text when answering in newsgroups, it is annoying to have
to read all previous ones when it's no longer fresh in memory

Private Sub Text1_AfterUpdate
On Error Resume Next
' handle mm/dd/yy
Me.Text1 =
DateSerial(right(me.text1,2),Left(me.text1,2),Mid(me.text1,4,2))
Me.Dirty = False
End Sub

Pieter

PS what happened to your data when you closed the form?
All my code did was to save the edited data
 
pieter,

it's working, thx man ;)
Pieter said:
OKIDO
Please retain all text when answering in newsgroups, it is annoying to have
to read all previous ones when it's no longer fresh in memory

Private Sub Text1_AfterUpdate
On Error Resume Next
' handle mm/dd/yy
Me.Text1 =
DateSerial(right(me.text1,2),Left(me.text1,2),Mid(me.text1,4,2))
Me.Dirty = False
End Sub

Pieter

PS what happened to your data when you closed the form?
All my code did was to save the edited data
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top