Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to get random generation with OleDb
Message
De
18/09/2006 12:26:27
 
 
À
18/09/2006 11:43:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01154512
Message ID:
01154749
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform