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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code that will clear datafrom prompts

Status
Not open for further replies.

yochai71

Programmer
Oct 1, 2003
8
IL
Hi Forum-friends,
I have question regarding a report that has several input-prompts:
When running the report an additional time, all the previous values remained in the prompt-fields.
a. Is there a code that will clear specific fields??
b. Is there a code that will clear the data ONLY if i change ONE of the prompt-fields?

Thanks in advance,

Yochai
 
for i=1 to activedocument.variables.count
activedocument.variables.item(i).value=""
next
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top