Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changes from one form to another
Message
 
 
To
01/09/2009 20:21:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01422237
Message ID:
01422257
Views:
62
>>Hi everybody,
>>
>>I'm using a buffered 5 table in one form (I'm using VFP tables). The other form (with private DS) makes a select statement involving that table and of course doesn't see the changes.
>>
>>I'm wondering what would be the best way of handling this problem, so my second form can use data from the other form?
>>
>>Thanks in advance.
>
>Save the changes?
>
>I believe that different forms are meant to act as different users, and that uncomitted changes are... well, uncomitted, and should not included in any result.
>
>In what kind of situation would it be important to include them?

Well, the second form is dependent on the original form. I solved it the same way I solved passing cursor back, so I copied the table data (using select with buffering option) into an array and passed it using parameter object to the second form.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform