That command will start a new record in the underlying tables of your query. When you say "clear" I'm not sure if that is what you need to do. I think your code should work unless your query is not updateable. If you just open your query in datasheet view is there a blank line at the bottom for a new record?
no. there is no lline there. This is what I did. I remove the query to use a table in stead. I can get the form to open to blank fields. How now do I get it to say move to the first record. I try the code below but it's doing nothing.
Me.Undo
DoCmd.GoToRecord , , acFirst
Best option is DON'T use bound controls, unless you are just doing prototyping and/or sample screens, and on this case you don't have to worry about clearing it anyway.
I am using bound controls because I have a subform on the main form. Depending on the FirmID the subform is populated with the list of brands or products that are associated with that firm.
I first thought about using unbound forms and recordsets but I don't know how link the recordset too the subform.
If there is a way please let me know.
Thanks.
________________________________________
Zameer Abdulla Visit Me A child may not be able to lift too much.
But it can certainly hold a marriage together
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.