Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing records in a listbox
Message
From
27/04/2005 07:22:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01008767
Message ID:
01008776
Views:
19
This message has been marked as the solution to the initial question of the thread.
>I have a form when loaded will display the first record in the table of 5 records. I want a listbox which display all 5 records so when the user selects the second record it will display all of my data on my original form. I have got this workinf fine. But......
>
>I dont want the list box on my main form. I want it on another form. So basically how can I use my main form and another form which allows the user to change the record and the main form updates?
>
>Many Thanks

Neil

As I understand it ... How about the list box form gets the PK of the record you want, from the listbox. You pass this PK as param to the other form, where you do a seek on this and refresh.

(Haven't I talked about this on a previous thread, message #1006980 ?)

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform