CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More VCL and OWL :-)
You can use TTable component in OWL program like this:
TTable* tbMy = new TTable(::Application);
tbMy->DatabaseName = "MyDatabaseName";
tbMy->TableName = "MyTableName";
tbMy->Active = true;
// Then do something like:
long nRec = tbMy->RecordCount;
// Then close table and delete it
tbMy->Active=false;
delete tbMy;
OWL's TPointer is convenient for handling VCL "new-created" objects.
You can also use AnsiString, TDatabase, everything that
can be constructed with parent ::Application.
As far as I remember from reading some Borland paper:
"It's easy to import TForm in your OWL program. Importing components
would have been (zic!) more dificult".
W Komornicki's Home Page |
Main Index |
Thread Index