Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writeable Cursors?
Message
 
 
À
16/12/1997 04:57:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00066144
Message ID:
00066331
Vues:
35
>How do you make a SQL Cursor writeable ?
>
>Select * from my_file into cursor my_cursor
>
>and then what?
>
>I seem to have seen a solution to this somewhere, but it just slipped my mind.
>
>Thanx
>
>Peter


Hi, Peter
As others have told you the solution is:
SELECT * FROM MyTable INTO CURSOR Query
USE DBF("Query") IN 0 AGAIN ALIAS Writable

I would suggest that you use the NOFILTER clause of SELECT-SQL to ensure that VFP is giving you a cursor, or you could inadvertently change your source table. The resultant cursor (Writable) is also bufferable, e.g. CURSORSETPROP("Buffering", 5, "Writable") will set optimistic table buffering.

HTH
Ned
Ned

Reality is.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform