Code: Select all
UniQrySaleGoods.Close;
UniQrySaleGoods.sql.Clear;
{A complex SQL join query}
UniQrySaleGoods.sql.add(strSQLtmp);
UniQrySaleGoods.Open;
If the query result is not found, an exception will be reported.
I wonder if there is a problem with the dev CXGRID that receives the dataset?