Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing rows in a table buffered view
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00666151
Message ID:
00666361
Vues:
16
Clever!

Glenn

>Hi, Bob!
>
>The SELECT-SQL and APPEND FROM are the only two commands which don't work with buffered data!
>To solve this problem I use the following very generic construction:
>
>* create an empty structure
>lcCursor = SYS( 2015 )
>SELECT * FROM DBF( "MyBufferedData" ) WHERE .F. NOFILTER INTO CURSOR ( m.lcCursor ) READWRITE
>
>* copy the data into an array
>SELECT ( "MyBufferedData" )
>COPY TO ARRAY laMyData
>
>* moving the data into cursor
>SELECT ( m.lcCursor )
>APPEND FROM ARRAY laMyData
>
>* now you can fire any SQL-SELECT against the m.lcCursor-workarea!
>SELECT * FROM ....
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform