Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where comes a cursor from?
Message
De
15/05/2003 09:33:18
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00788631
Message ID:
00788667
Vues:
23
Hi Einar,

your €0.0228 was that what I need. ::)
The cursor is the one with the 'tmp' extension.
I tested a little bit an have what I need.
So let me list.
Do CASE
 CASE BITAND(CURSORGETPROP("SourceType",ALIAS()),2^0+2^2)=3; &&BITAND because of CursorAdapter
  AND !EMPTY(CURSORGETPROP("Database" ,ALIAS()))
*Table in DBC Container
 CASE BITAND(CURSORGETPROP("SourceType",ALIAS()),2^0+2^2)=3;
  AND EMPTY(CURSORGETPROP("Database" ,ALIAS()));
  AND !UPPER(JUSTEXT(DBF()))='TMP'
*Free Table (or something this is permanently stored on disc)
 CASE BITAND(CURSORGETPROP("SourceType",ALIAS()),2^0+2^2)=3;
  AND EMPTY(CURSORGETPROP("Database" ,ALIAS()))
*Cursor (from CREATE VIEW or SELECT SQL, but Cursor is Cursor)
 CASE BITAND(CURSORGETPROP("SourceType",ALIAS()),2^0+2^2)=1;
  AND !EMPTY(CURSORGETPROP("Database" ,ALIAS()))
*View
 CASE BITAND(CURSORGETPROP("SourceType",ALIAS()),2^0+2^2)=1;
  AND EMPTY(CURSORGETPROP("Database" ,ALIAS()))
*Result of CursorFill method (how we call this?)
ENDCASE
This is for VFP nativ cursors only.

Thanks for the Help

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform