简单的选择题
no:=EntryText
Database:="ABC"
SQLstring11:="select 题目 from ceshi where 题号="^no^";"
SQLstring12:="select 选项A from ceshi where 题号="^no^";"
SQLstring13:="select 选项B from ceshi where 题号="^no^";"
SQLstring14:="select 选项C from ceshi where 题号="^no^";"
SQLstring15:="select 选项D from ceshi where 题号="^no^";"
ODBChandle:=ODBCOpen(WindowHandle,"ODBCerror",Database,"","")
ODBCdata1:=ODBCExecute(ODBChandle,SQLstring11)
ODBCdata2:=ODBCExecute(ODBChandle,SQLstring12)
ODBCdata3:=ODBCExecute(ODBChandle,SQLstring13)
ODBCdata4:=ODBCExecute(ODBChandle,SQLstring14)
ODBCdata5:=ODBCExecute(ODBChandle,SQLstring15)
ODBCClose(ODBChandle)