Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe Fields Issue
Message
De
30/10/2001 16:15:01
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
30/10/2001 13:53:51
Shawn Edwards
Dallas Summer Musicals
Dallas, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00575237
Message ID:
00575320
Vues:
19
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform