I'm having difficulty opening a SQL database within a UNICON program. I'm using version 10 of UNICON for Windows (NT4 SP 6a).
The following program compiles (c:\> unicon myprog.icn) but does not execute:
procedure main()
f:=open("dbname","q","tablename","username","passsword") | stop("error opening database")
close(f)
end
Executing this very simple program generates error 209, invalid second argument to open. The offending value is the "q". (And yes, I've got an ODBC driver and MySQL running.)
Obviously, I don't have access to the additional OPEN options available in UNICON. Are there additional switches that have to be selected at compile time in order for the database features to be available?
Regards,
Daniel J. Boulet
[EMAIL PROTECTED]
Technical Systems Centre - C113-4
(613) 248-7221
