Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keep Record Pointer on Added Record After Requery..
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00841791
Message ID:
00841796
Views:
24
Tommy,
You could do the same key store and then use the LOCATE command to position the record pointer. How many records are dealing with? Is LOCATE not an option because of the number of records?

HTH.

>Question....
>
>After a Requery of a View, the Record Pointer on the View goes back to the First Record.
>
>How would you go about keeping the Record Pointer on the newly added record?
>
>Before the the requery, the RN would be -1. After the requery, it changes to 1.
>
>(I tried adding a temporary index on the first field, saving the contents of the field that was added, then after the save, seeking that field. That works, but is there any other way that avoids having to add an index just for that? )
>
>So how?????
>
>
>Thanks!
>
>Tommy
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform