In my 32bit version I use this code to update a query, and stay on the same record.
- Code: Select all Expand view
- vrec := oRs:AbsolutePosition
oRs:Requery()
oRs:AbsolutePosition(vrec)
and is working fine.
In the 64bit-version I receive an error on the 3the line where I set the position again.
vrec is holding the line-number, just like in the 32bit version. I debugged it, and is the value of the record, just like in the 32-bit version.
- Code: Select all Expand view
- Error description: (DOS Error -2147352562) WINOLE/1007 Argument error: ABSOLUTEPOSITION
Args:
[ 1] = N 2
Is there another way to do this?