Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple biz Objects on same form - can't find alias?
Message
From
13/10/2003 15:45:43
 
 
To
13/10/2003 14:57:13
Scott Malinowski
Arizona Fox Software LLC
Arizona, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00838258
Message ID:
00838282
Views:
20
>Greetings!
>
>I have a single form (no pageframes) with two business objects on it. One bizobj provides two data accesses for the main table on the form. The other provides information to populate a combobox. Everything is working fine UNTIL I specify the recordsource for the combobox. When I try to instantiate the form, I get an "alias *combobox RecordSource ALias* not found" error message?
>
>I have all my data accesses set to NO LOAD ON INIT and the local views that are accessed ALL have the correct data in them. (Note, I requery() all views in the Form.Init method). Is there something else I need to do, like change datasessions or something? I have the form set to use private datasessions (option 2).
>

My best guess at this point is that the bizobj is instatiating *after* the combobox, meaning that it doesn't exist when the combo needs it. Select your bizobjects and 'Send to Back', and then do the same with the cSession object, and see if that clears it up.

Chris.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform