数据连接
set_window ("机构设置", 2);success = db_connect("sesion","DSN=com",30)
db_execute_query(sesion,"select top 1 id from tbxorg order by id desc",row);
id = db_get_field_value(sesion,"#1","#1");
tbl_set_selected_cell("dw_1", "id="&id, "selectflag");
db_disconnect(sesion);
add watch " sucess"提示我 -10161-10160错误,我一开始就连接数据是不是不对?
是什么原因?
[ 本帖最后由 feier_y 于 2006-4-7 09:23 编辑 ] 没人理我, 请参考精华区内关于连接数据库的贴
页:
[1]