Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I use an array as parameter in SPT?
Message
De
27/12/1999 18:13:32
 
 
À
27/12/1999 14:12:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00308814
Message ID:
00308993
Vues:
26
>>Without knowing what the backend is, that's impossible to say. Essentially, you have to use whatever the server's DDL is to create a cursor and then insert the values into it.
>
>Ed,
>The backend is VFP. I can create cursor with CREATE CURSOR SQL but it's still the problem to insert values from local array. It's easy for me to create a string expression for whereclause and use it through macrosubstitution in SELECT statement.

CREATE CURSOR whatever
APPEND FROM ARRAY thisform.aValuesFromArray

and a nice, simple IN clause that's supported regardless of the backend.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform