TOPIC: RecordControl and derived class
#1808
RecordControl and derived class 7 Months, 3 Weeks ago
I have class that has a RecordControl. There is method to clear the fields in the RecordControl (and screen). When I derive from this class i get error if use the method: #uninitialised member: #Data. Strange, when i ask to show .Data content with Print(.Data) it prints contents, then gives error, and then it has cleared RecordControl. How can it be uninitialised and print correct contents?
 
 
#1814
Re:RecordControl and derived class 7 Months, 3 Weeks ago
That does sound a bit strange. Sometimes you can run into problems if you try to reference a control too early in the process of constructing the controls. If you would like to post the code for the class that is using RecordControl I could probably help you figure out the problem.

Jeff Ferguson
Suneido Software
 
 
Jeff Ferguson
Suneido Software
 
#1817
Re:RecordControl and derived class 7 Months, 2 Weeks ago
sorry for late reaction. You are right i referencing to early, now is fine. Thanks!!