Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to get random generation with OleDb
Message
From
18/09/2006 12:26:27
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01154512
Message ID:
01154749
Views:
12
>Essentially Yes - you will need to set up the environment when creating the connection. One option would be to make the query a SP and issue the RAND(-1) there. I usually open the connection in a method so I can consistently set the environment.

Yes, this is what I have as well. I worked a few weeks to set the data provider class. I had to make it generic on the backend so this is why it took a lot of time to handle it quite ok. What I provide what only a sample in order to proceed in this thread and to make sure I have it ok at first before using the class. I will adjust the class however to handle specific CommandText syntax commands independently or before a SQL query.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform