Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create and set 'Index' and use'Seek' Command in A
Message
 
To
24/11/2004 06:16:09
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00964141
Message ID:
00964190
Views:
13
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform