In my form I used a Temporary Table in DataSource - with property TableType: InMemory .
In My form I have a simple code,like this:
public TableTmpTable insertRecords(String _param_I, string _param_II)
{
TableTmpTable myInMemoryTable;
myInMemoryTable.clear();
myInMemoryTable.initValue();
myInMemoryTable.Field_I = _param_I;
myInMemoryTable.Field_II = _param_II;
myInMemoryTable.insert();
return myInMemoryTable;
}
I need to call this method more than once.
But, whenI call the method I lost my previous record. How can insert more record in InMemory table in different time?
Thanks in advice!
*This post is locked for comments
I have the same question (0)