Locking text boxes

jalldridge

Registered User.
Local time
Today, 05:43
Joined
May 3, 2005
Messages
60
solved - Locking text boxes

Hi guys,

I have a form that is opened when a user presses a button. Once the new form is opened a unique ID is passed across a put into a text box (which is invisible). The user then inputs some data and hits the enter button to assign the data to the person represented by the unique ID. However once the enter button has ben pressed the unique ID goes to zero - thereby preventing any more data for that person be entered. :-(

The code for the enter button is:

DoCmd.GoToRecord , , acNewRec

I trieds to locking the textbox but the unique ID is still removed...

is there anyway that I can prevent the unique ID from being removed?
 
Last edited:
Resolved. Just needed a cup of coffee to get the cob webs out of my brain :D
 

Users who are viewing this thread

Back
Top Bottom