Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Get Report Name?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
How To Get Report Name?
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01006562
Message ID:
01006562
Views:
56
In my forms, I have the following code to record form utilization when the form starts:
*************************************************************
* Form Activity Tracking
*************************************************************
TEXT TO lcCmd noShow
	exec dbo.ctInsertFormTrack ?thisform.Name,?gnUserID,'FORM'
ENDTEXT
=SQLEXEC(gnConnHandle,lcCmd)
I want to do the same thing with reports, I planned on putting the code in the BeforeOpenTables event, but I can't find a way to get the report name. If I put this.name it returns DataEnvironment rather than report file name. I know the reports aren't objects but does anyone know away?

Thanks

Kirk
Next
Reply
Map
View

Click here to load this message in the networking platform