>I am calling a form with a recid as parameter. I want for example to open the client form with one particular client. So, in the init of the form, I am positioning on the requested record and hop it shows on the screen.
>The problem is that, when the form appears on the screen, it is showing the first record for a brief moment. I thought about seting the nodataonload property to .t. in the data environment but no-can-do, it is read only (Actualy I wonder why?).
>What could be the solution for this.
>
>Thanks
>Eric
Hey Eric,
One way is to set the record pointer at the end of file in the table. This has to be done in the load method of the form (the init is too late). Something like this:
goto bottom in 'myTable'
if .not. eof('myTable')
skip 1 in 'myTable'
endif
HTH,
Steve Gibson