Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Novice question on data environment
Message
From
15/08/1997 09:02:09
 
 
To
15/08/1997 05:23:30
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00044860
Message ID:
00044891
Views:
32
>>I have two forms for my stock transaction history. One form is for the user to select the stock and the other form is to display the transaction history for the stock. At the moment, I am using a formset. I don't really like it because if I have different format of the transaction history form, I need to have many forms in the formset. It seems to slow down the whole thing.
>>
>>My question is: can I use 'do form txnhist' in my first form (the select stock form)? My problem is if I set up my data environment in the first form, open the second form without closing the first one, the second form doesn't use the table open in the first form.
>>
>>I know that I can make the second form a class and instantiate it. But it seems stupid.
>>
>>What is the usual way? Can anyone share?
>
>
>I can also use parameterized view for the second form. Any other option?

If second form has default data session it will use tables opened in the first form, if it's private data session then you have to create and use separate DE.
Both ways are feasible and widely using.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform