1.若使用datastore,並沿用既有版面,需注意其Retrieve as needed是否打勾,若打勾需釋放之
範例
datastore dw_destination
dw_destination=create datastore
dw_destination.dataobject="d_icmast_remark"
dw_destination.settransobject(sqlca)
dw_destination.Object.DataWindow.Retrieve.AsNeeded='no'
li_totrow=dw_destination.retrieve(mtranno,mtttype)