prefill error

S

SITCFanTN

I have a data entry form that I"m using to record people's information. I
want to retain the "AssignedChap" and "Zip" from the data entry when the
record is saved and the form is reloaded. I'm using this code for the zip
and the form field is retaining the information from the previous record
however when I use the same format for the "AssignedChap", it does not work
and this is in the data entry field for AssignedChap: #Name? .. The zip is
numeric, but the city is text, is this the issue. Below are my two sets of
code.

Private Sub Zip_AfterUpdate()

Me.Zip.DefaultValue = Me.Zip

End Sub

Private Sub AssignedChap_AfterUpdate()

Me.AssignedChap.DefaultValue = Me.AssignedChap

End Sub

Thank you in advance for your help
 

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

Top