>BTW, the proper place to put this code is in the postinit hook method of the dataenvironment.
Nope. Doesn't work there because during on of the init stages it already expects the table to exist and that's not necessarily the case.
I was able to place it in the init itself though:
* Create temp table
create table....
....
dodefault()
return .t.
But from an OOP standpoint, shouldn't the table be created by the cursor object? I mean, both work, but I think you would expect the functionality for this to be one level further down the hierarchy.
Alex
Low-carb diet not working? Try the Low-food diet instead!