Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record bound to fields in form
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Record bound to fields in form
Miscellaneous
Thread ID:
00315862
Message ID:
00315862
Views:
71
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
Next
Reply
Map
View

Click here to load this message in the networking platform