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