General information
Category:
Forms & Form designer
>>
>>I think that issuing a GOTO RECNO() would re-etablish the relationship for you. You might try that instead of moving off and back to the record.
>
>I thought that worked for existing records.
>But now he is adding a new record, so record number = -1 (or -n if he has created n unsaved items)
>You can't go to a record with a negative number, so this won't work
Sounds as if my testing was imcomplete.
I had tried it in the command window by
setting buffering to 3,
issuing an APPEND BLANK
changing the field
doing GOTO RECNO()
and it worked. Based on what you said, I don't doubt that it won't in different circumstances.
The bigger problem, which I didn't notice (and should have tested) before I posted, is that after all this, the changes had been posted and TABLEREVERT() was no longer available. Since that was the reason for the original post, it looks as if I was wrong on several counts.
Thanks for the lesson...........Rich
Previous
Next
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