rc=db_connect("szgas","DSN=wr_test1",30);
if (rc== E_OK )
pause("connect succes");
else
pause("connect fail");
db_execute_query("szgas","select * from organ where organno='130'and sign='1000000000000000'",record_num);
val=db_get_field_value("szgas","#1","name");
db_disconnect("szgas");
pause(val);