Cant get this to work...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have done this a hunderd times now at work but for some reason this will
not work at home. I am running Access 2002 at home and at work I use Access
2003.
All I am try to do is this:
On_Form_Close
me.BPID = me!tbBPID

All i get is this error 2448 You cant assign a value to this object.

me.BPID = null and me!tbBPID = 1

both are number fields long int

I dont get why this is not working

Any suggestions?
 
Are you running this code step in the Close event procedure for the form?
Too late to set values at that point. You'll need to run the code step in
some event procedure that occurs earlier than the form's closing.
 
That did it, Thanks Ken

Ken Snell said:
Are you running this code step in the Close event procedure for the form?
Too late to set values at that point. You'll need to run the code step in
some event procedure that occurs earlier than the form's closing.
 

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

Back
Top