Dear Alex I need help...

  • Thread starter Wasim Yasin via AccessMonster.com
  • Start date
W

Wasim Yasin via AccessMonster.com

Dear Alex
I raised a query some days ago and u satisfied me. In continuation of that
Still a problem.
Problem is that I'm getting the message or error " #Name" in the textbox
field. any help please.
I'm using the following code in these text boxes.

Private Sub BatchNo_BeforeUpdate(Cancel As Integer)
Me.BatchNo.DefaultValue = Me.BatchNo.Value
DoCmd.Save acForm, Me.Name
End Sub

Private Sub KPOName_BeforeUpdate(Cancel As Integer)
Me.KPOName.DefaultValue = Me.KPOName.Value
DoCmd.Save acForm, Me.Name
End Sub
Field names in table are 'KPO' and 'Batch' and Textboxes names on form are
'KPOName' and 'BatchNo'.
 
Top