Attach_table routine (OpenInsight 32-Bit)
At 18 MAY 2007 06:17:59PM Mark Ford wrote:
I have just upgrade to 8.0 and my attach_table routine now fails on the If Get_Status(StatusCode) Then command. StatusCode is unassigned.
RP.SURVEY=SOURCE_DIR@99,"B\"
*RP.SURVEY=SOURCE_DIR@pos+1,99
convert @lower_case to @upper_case in rp.survey
convert @lower_case to @upper_case in SOURCE_DIR@
dest_dir=source_dir@
*List the survey files
TableList="
TableList=rp.survey:"_QUS"
TableList=rp.survey:"_DAT"
TableList=rp.survey:"_DFN"
TableList=rp.survey:"_TXT"
TableList=rp.survey:"_SUR"
TableList=rp.survey:"_DEF"
= set_status(SETSTAT_OK$)
Attach_Table(dest_dir, TableList, "", "")
If Get_Status(StatusCode) Then
xx=MSG('',' Error attaching files for ':RP.SURVEY)rp.survey='RETURN 0END
Have changes been made to the Attach_Table routine and/or the setting of the StatusCode?
At 22 MAY 2007 05:08PM Sean FitzSimons wrote:
Mark,
This may be a driver issue. Do you have the 2.1 or 3.0 driver? If the file was created using the 3.0 then you may be using the 2.1 and receiving this error.
Sean