>I use VFP6. I have a form with a small pageframe in the form. The pageframe has 3 tabs, and each tab has a memo field embedded in it. When I add a new record, the visible page frame is the only one I am allowed to update. If I modify the same record with each page frame, I can enter new data. The other problem is when I create a new record, the information I enter into the other two fields on the inactive tabs carries over into the new record. Anything I can do to make all tabs active with the current entry without a carry over? Thanks in advance for any help provided.
Seems to be your editboxes are not bound (.controlsource empty). In that case, in your code where you add new record:
thisform.pageframe1.page1.edit1.value=""
thisform.pageframe1.page2.edit1.value=""
thisform.pageframe1.page3.edit1.value=""
This will blank them all. Your actual control names may be different from this - you may want to check on this.
If your controls are bound, keep in mind that the invisible pages are not refreshed when the form refreshes, so you may do this
with thisform.pageframe1
.page1.refresh
.page2.refresh
.page3.refresh
endwith