OPTIONS "NOSOURCE"
create: PROCEDURE EXPOSE sql_all_colname.
guierr = "SYNTAX"
guiheading = 1
guicreatewindow(, -1)
DO i = 1 TO sql_all_colname.0
guisendmsg("ODBC_Fields", "ADDSTRING",, sql_all_colname.i)
END
guisetctlplacement(guiwindow,,,,,,'NORMAL')
RETURN
destroy:
guidestroywindow()
RETURN
fillstem:
USE ARG stem.
stem.0 = odbc_fields.0
DO i = 1 TO odbc_fields.0
stem.i = odbc_fields.i
END
RETURN
wm_click_cancel:
guisendmsg(, "POST CLOSE")
RETURN
wm_click_ok:
guigetctlvalue("ODBC_Fields")
guiwake("OK")
RETURN |