Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where comes a cursor from?
Message
From
15/05/2003 09:33:18
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00788631
Message ID:
00788667
Views:
22
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]
Previous
Reply
Map
View

Click here to load this message in the networking platform