Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clear Continuous Forms 1

Status
Not open for further replies.

billmsacces

Programmer
Feb 2, 2004
16
0
0
US
I have a form that shows the data in continuous forms. I want to use a code to clear the entire form. I tried a simple loop procedure but it only clears the single line, not the entire form.
Can anyone help me?
 
How about:

Pseudo Code:

do while me.newrec=false then
clear field
clear field
docmd.gotorec.acnewrec
loop

 

Okay...
Everything works, except

docmd.gotorec.acnewrec

I keep getting an error that says "The object '0' isn't open."

Any ideas?

Thanks.




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top