S
shyj
Unregistered / Unconfirmed
GUEST, unregistred user!
利用Rxlib2.5帮助,用该控件写出如下程式:
TMemory MTable;
MTable->Database="MyDB"; //Microsoft SQL Server6.5
MTable->TableName= "mytable"; //随便什么名称都可以吗?
MTable->字段定义->Clear()
MTable->字段定义->Add("field1",ftString,12,false);
MTable->字段定义->Add("field1",ftInteger,0,false);
MTable->字段定义->Add("field1",ftCurrency,0,false);
//what is ftCurrency 'size? I have to let it be 0
MTable->CreateTable();//出错!!!
请给出成功的例子。(如果与 Dev dxDbGrid结合最好)
TMemory MTable;
MTable->Database="MyDB"; //Microsoft SQL Server6.5
MTable->TableName= "mytable"; //随便什么名称都可以吗?
MTable->字段定义->Clear()
MTable->字段定义->Add("field1",ftString,12,false);
MTable->字段定义->Add("field1",ftInteger,0,false);
MTable->字段定义->Add("field1",ftCurrency,0,false);
//what is ftCurrency 'size? I have to let it be 0
MTable->CreateTable();//出错!!!
请给出成功的例子。(如果与 Dev dxDbGrid结合最好)