These are the instructions that you, or the person who set up ODBC in your computer, can follow:
You need to add 1048576 to the value of the Options field of the configuration of the ODBC DSN.
This can be done by adding the line Option = 1048576 to the file odbc.ini, or editing the Options field using the graphical ODBC configuration tool.
c Query station data
call idba_quantesono(handle, count)
c Get the informations about a station
do i=1,count
call idba_elencamele(handle)
call idba_enqc(handle, "name", cname)
call idba_enqi(handle, "B02001", type)
c ....
enddo
call idba_seti("ana_id", id)
call idba_voglioquesto(handle, count)
do i=1,count
call idba_dammelo(handle, param)
c get the value of this variable
call idba_enqc(handle, param, cvalue)
print*,param,": ",cvalue
enddo