Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Biz Object not firing on a new form.
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00185238
Message ID:
00185276
Views:
21
Wtih the data session window open the only item that is listed is appincl. Not my view, nor the tables that the view fetches from.

So a requery() gives the error:
No table is open the the current work area.

My ZOrder is :
My_form
RefBizObj
oSessionEnvironment
cLabel1
My_BizObj

There are no controls as of yet.

Thanks in advance.

__Stephen Russell


>>I am just taking the Inital steps in MM.
>>
>>I have a bizobject that loads a view properly. I do setprocsandlibs then instanciate it and the bizobject works fine, ie a requery() from the command line fetches the data.
>>
>>Now I drop the bizobject on a form. I then send to back. Do setprocsandlibs then instanciate the form. The form loads, no error messages, but no data either?
>>
>>
>>Anyone know where I have screwed up?
>>
>
> I think the answer to your question might be right in front of you. When you ran the object from the command line, you forced a requery. By default, MM loads views with no data. You have to force a =REQUERY() to pull down the information (or use one of the auto requery modes). Since there isn't any data, it's a pretty good indication you need a requery.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform