Another thing. FOR VFP 6 use . JUSTEXT(DBF('YourALIAS')) = 'TMP' and CursorGETProp('SourceType') = 3. views also use a TMP file be carefull. SourceType is a Table.
-----Original Message----- From: profox-admin .AT. leafe .DOT com [mailto:profox-admin@leafe.com]On Behalf Of Jürgen Wondzinski Sent: December 31, 2002 5:02 AM To: profox .AT. leafe .DOT com Subject: RE: Location of Cursors
Hi Graham,
as an additional sidenote, you can always see where your cursors are located:
CREATE CURSOR Test (Field1 C(10)) ? DBF("Test")
Or, if you want to know if an Alias is a cursor:
FUNCTION IsCursor(tcAlias) RETURN RIGHT(UPPER(DBF(tcAlias)),4) = ".TMP"
Servus
wOOdy
|\_/| ---- ProLib - programmers liberty ----- (.. ) Our MVPs make the Fox run... See us - / at www.prolib.de or www.AFPages.com
[excessive quoting removed by server]
©2002 Shawn - oursoftware |