Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports data refresh
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00500052
Message ID:
00505077
Views:
23
>Jon,
>
>would that now be:
>
>thisform.crxreport.LogOnDatabaseName("dsn")
>
>I'm assuming this would preceed the code to run the report?
>

Jim,

Assuming crxreport is the report object, you could do something like this:
FOR EACH oTable IN thisform.crxreport.database.tables
   oTable.SetLogonInfo("VFPDSN")
ENDFOR
Yes, this would be done before the report is actually launched. Once you've gotten one report to work, you'll be able to get the hang of it. Their help docs can be a little confusing if you're new to it because they have an automation server object model (older) and a report designed component object model (newer). Just be sure you're looking at the RDC syntax when you load that help file. :)

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Previous
Reply
Map
View

Click here to load this message in the networking platform