Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record pointers on empty cursors/tables
Message
From
02/02/2004 09:26:28
 
 
To
02/02/2004 09:22:42
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00872917
Message ID:
00872918
Views:
38
>I use the following code in numerous methods to keep record pointers where they belong
>

Hi Jay.. Try it:
cAlias = ALIAS()

nRecNo = RECNO()


*Do Something


if  empty(cAlias)
else
    SELE (cAlias)
    if  nRecNo <> 0 .and. nRecNo =< reccount()
        GOTO nRecNo
    endif
endif
>

HTH

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform