在lookup或者类中,用insert_recordset方法向临时表插入数据后,需要用select tmpTable来初始化临时表的buffer,数据才可以正常呈现。
如:
public static void lookupRate(FormStringControl _contrl,
TNK_ToRisk_C _custAccount,
TNK_LTSeiZhaCh_COCTR_C _costCenter,
TNK_SB_C _itemId)
{
SysTableLookup sysTableLookup;
Query q;
QueryBuildDataSource qbds;
TNK_BaseRate_C baseRate_C;
TNK_RDB_JIGSOBA_UNT_SBT unt_SBT;
TNK_TmpCustomerRate tmpCustomerRate;
delete_from tmpCustomerRate;
ttsBegin;
insert_recordset tmpCustomerRate
(JIGSOBA_UNT_SBT, SCBaseRate_C, LTSe