Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record bound to fields in form
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Record bound to fields in form
Divers
Thread ID:
00315862
Message ID:
00315862
Vues:
69
I created a new form, added a dataenvironment, added
a free table (called customer), and dragged various
fields onto the form. I did not request buffering or
private datasession.

In another form called ORDER, I have positioned the record
pointer to the desired customer in the CUSTOMER alias,
and I call the CUSTOMER form. I was assuming that
since the cursor is already pointing to the desired customer record,
that simply calling a form whose fields are bound to that
CUSTOMER table, the form should display the fields for that
current record. Instead, the fields to the first record
in the CUSTOMER table are displayed, regardless of what
record I am positioned to when I call the customer form.

I am just curious as to why the form doesnt work as I would
expect it to. I realize that I can DO CUSTOMER WITH CUSTNO
and in the INIT, use CUSTNO to SEEK and position to the
desired record. But I would like to know if there is a
way to create a form and dataenvironment such that the form
would simply display the fields of the current record in the cursor
without any further programatic activity.

Thanks in advance.

Bill Buell
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform