General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Before you issue TableUpdate, the records are buffered and assigned negative record numbers. After you issue TableUpdate, they are physicially added to the table with positive record numbers, therefore all negative records are gone. If you want the record pointer to be on the same record, you should issue a SEEK or LOCATE to get back to the record, not RECNO().
>Hi
>
>i have buffer = 5
>I need make this :
>
>Select Tabela1
>nRecno = Recno()
>=TableUpdate(1,.T.)
>GO nRecno
>
>give me a error , nRecno is negative
>
>
>The help VFP says :
>
>RECNO( ) returns negative numbers for records appended in a table buffer.
>
>What this means ?
>
>I only want after TableUpdate , pointer stay in same record , that where before TableUpdate .
>
>Thanks
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only