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

VBA and FileWatcher

Status
Not open for further replies.

binboy77

MIS
Oct 20, 2002
43
0
0
IN

Can anyone send me a sample code to include the FileWatcher class in my Reoprt in VBA?

I need to automate reports based on the presence of a file.

Also wanted to know if i can pass report parameters in this file and make BO read them.

I was trying with the follwing code in VBA

Code:
doc.DocAgentOption.FileWatcher.FullFileName = "C:\test.txt"

but this returns empty string in VBA....

Please do send the sequence of VBA Filewatcher code required for this automation..

Any help would be greatly appreciated..


Thanks

Bin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top