General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Hi Pedro,
This is because in a buffered table records appended have negative recno(), after tableupdate command they are "committed" and phisically added to the table and got positive record number, so nrecno variable store a record number which doesn't exist anymore (and give you the error).
take a look at "Buffering Data" in docs
HTH
>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