main logo
Subject: Re: DefaultDatabase problem
Author: graeme thomson
Posted: 2000/10/10 06:14:17
 
View Entire Thread
New Search


I did this some months ago when designing a generic form for modifying lookup tables. Unfortunately I used a different approach later and so have lost the class. I do recall that I placed a value in oDELoader.cDataEnvironment in the Init() of the form using a parameter. My understanding is that the form instantiates last so the bizobj was instantiating ok. i.e. leaving oDELoader.cDataenvironment blank does not prevent the form from instantiating??? I then called methods in cDataBehaviour directly from the form Init() to achieve the correct "load". A separate method call was then used to define the controlsource for the controls on the form i.e. after defining the dataenvironment.

it worked really well, sorry I can't recall the exact methodology.
 
©2000 graeme thomson
<-- Prior Message New Search Next Message -->