What did I do wrong? I noticed that when I docmd.open form, the form opens but it is giving me to add a record. I turned on record selectors and it shows me 1 of 1 the endrecord is Greyed out.
Example is from previous command Docmd.openform "CustomerF",,,"CustomerID=" & CustomerList
Even I change the customerlist to = 4
I did some test, maybe I am doing something wrong in the code.
I created a new button on a new blank form, I called it test. The event for the open click button is
Docmd.openform "CustomerF",,,"CustomerID=4"
This is just to satisfy me and you.
The result is the same, the form open but it give me a blank for as if I will enter a new record.
Waaaah!
Reply from Richard Rost:
Check the underlying table. Do you have a record with and ID of 4?
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Microsoft Access 321.