Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create and set 'Index' and use'Seek' Command in A
Message
 
À
24/11/2004 06:16:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 2000
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00964141
Message ID:
00964190
Vues:
12
If this is a CursorAdapter You can operate it as a regular VFP Table i.e:
val1 = 'test1'
val2 = 3456.000
val3 = 1
SELECT (Ca.Alias)
REPLACE Abc WITH val1,;
        xyz WITH val2,;
        cde WITH val3
IF .NOT. TableUpdate(0, 1, Ca.Alias) && Erro happened
   AERROR(aErr)
   DIPLAY MEMORY LIKE aErr && Or do something that handles the erros
ENDIF
BTW If you Use ODBC There is no need to configure DSN, You can use SQLSTRINGCONNECT() instead
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform