Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem on Refresh after append blank on Master Table.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00096459
Message ID:
00096462
Views:
13
Justok,
Is your problem that the form shows another record, not the appended record? If so, then check if you have SET RELATION TO..... In your refresh, you may be SELECTing the parent record in the relation, and then the child record will be automatically set to the FIRST record, not the one you just appended. Follow the record #s in DEBUG to see if/when they change.

HTH
Barbara

>First of all, all table are already set the buffer mode to 5.
>
>I donno why if I code:
>
>Select Master
>append blank
>Thisform.Refresh
>
>
>The FOrm will go to an OLD Record and try to overwrite the
>old record.... the Recno is about Reccount-1 or Reccount-2 !!
>
>WHile the Recno() for Blank record is '-1'!
>
>Is it because there is a fix link on Order and Orderline??
>but it work well when append blank in orderline.
>
>Why Recno is changed when refresh after append blank in Order ??
>
>?_?'
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform