Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Access Selected Table Error
Message
From
28/03/2000 12:36:36
Ed Gay
Computer Software Consultants
Bangor, Maine, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00351373
Message ID:
00351457
Views:
14
>Ok now I can follow what your trying to do, and yes your should be able to pull this off with a CBizObjForm. We need figure out what's different when you cancel the first try at add and then try again.
>
>Questions -
>Do you see data from the underlying view when you first hit page two before hitting add button?
>
>Have you tried to suspend things before hitting add and seeing if you can still add a record manually from command window?
>
>What form class are you using for that pre-selection form? Does it use a private data session?
>
>Suggestions -
>I personally wouldnt fudge with ceditform property like that. I'd use the cBizObjRetVal form for the pre-selection deal. Then you got conveniece of a bizobj to handle the SQL statement. I would call that form from the add button
>with a lRetVal = DoForm('preselectformclass'), then issue my DoDefault to get the frameworks usual add code to run. See DevGuide for more info on the CBizObjRetVal form.

Roxanne,
You are right on the money, there must me something in the CListObjEdit form that misses up the data session for the next form. I did as you suggested and used the CBizObjRetVal form and it work like a champ.
Thanks a million!
Ed
Previous
Reply
Map
View

Click here to load this message in the networking platform