Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe Fields Issue
Message
From
30/10/2001 16:15:01
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
30/10/2001 13:53:51
Shawn Edwards
Dallas Summer Musicals
Dallas, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00575237
Message ID:
00575320
Views:
20
>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

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform