onApplicationInit:
$sql = “ALTER TABLE pj_gaoji_zhibiao ADD age INT(4)”;
sc_lookup(ds,$sql);
form or grid application can display the age column ?
onApplicationInit:
$sql = “ALTER TABLE pj_gaoji_zhibiao ADD age INT(4)”;
sc_lookup(ds,$sql);
form or grid application can display the age column ?
You can not do it this way. That is not corrcet way.
First, you must execute your statement from your DBMS.
When your field already created, you must modify sql in your grid application for add the column name.