Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BizObj's and temp tables
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
BizObj's and temp tables
Miscellaneous
Thread ID:
00348734
Message ID:
00348734
Views:
54
I need to launch a CBizObjModalForm, and have the bizobj work with my cgridlist and manage a temporary table created on the fly when this form gets launched. Without having the usual view specified in bizobj's data environment, I'm a little stumped as to getting the bizobj to recognize the temp table as it's InitialSelectedAlias.

I tried setting (in my bizobj) This.oDataEnvironment.InitialSelectedAlias = MyTempTable

But when the form controls trigger the bizobj's add/delete methods, I get a Error #111 "Cannot Update the Cursor" yet I can suspend and add/delete from the table just fine. Am I getting this error perhaps because oDataEnvironment is a protected property? And how can get my bizobj to work with the temp table without having to specify it in the DE at design time?
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Next
Reply
Map
View

Click here to load this message in the networking platform