Privet!
Estj, naprimer, table EmplTable. Hochu ispoljzovat jevo strukturu in polji, kak tmp table
EmplTable.setTpm();
No kak ubrakj fields katoriej nenuzhni (naprimer, kakie polji, katorie mandatory, nu mne ix nenuzhnji) i tak zhe podlazhit novix fields ???
Patom ja store etot tabljicu v konteinere, a konteiner v tabljice.
X++:
container tmpCon;
container conTable
//store tmp table in container
tmpCon = buf2con(courseTable);
conTable = conins(conTable,conlen(conTable)+1,tmpCon);
Table.containerField = conTable;
A vtarom mestje iz etova tabljice ja palucjaju etot container c etom tmp tabljicu.
X++:
tmpTable.setTmp()
con = Table.containerField;
//store data in tmpTable from container
for (i=1;i<=conlen(con);i++)
{
con2buf(conpeek(con,i),tmpTable);
tmpTable.insert();
}