Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving cursors
Message
From
14/11/2000 17:16:54
 
 
To
14/11/2000 15:58:53
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00441240
Message ID:
00441878
Views:
11
I guess I'm not the only one trying to do wacky stuff to suit strange situations. :) What I ended up doing is putting my code in the init of a form and using the private datasession. Works great so far.

Thanks,

Michelle


>Michelle,
>This will work just fine. We have a customer who needs to print our reports to a PDF file. Since our product is in 2.6 and you can't print to a PDF file without user intervention in 2.6 I had to find a way to save the complete environment in 2.6 and then call an exe written in VFP that restores the environment and then prints the report to a PDF file. Since most of our reports use cursors for the detail I needed a way to save them. You could check the Alias() against the DBF() but you have probably already realized that that approach is not reliable. The only way I found to be reliable is the way you described with ".TMP" $ upper(dbf()).
Previous
Reply
Map
View

Click here to load this message in the networking platform