New Forum | Previous | Next | (P-PDF) Developers
Topic: getConnected but won't populate from a SQL DB
Conf: (P-PDF) Developers, Msg: 70458
Date: 8/15/2002 02:05 AM
I have a problem when I try to populate from SQL tables.
My routine is the following:
Connect = ADBC.newConnection("Data");
if (Connect == null) throw "Could not connect";
statement = Connect.newStatement();
if (statement == null) throw "Could not execute newStatement";
if(statement.execute("Select * from items")) throw "Could not execute the requested SQL";
if( statement.nextRow()) throw "Could not obtain next row";
var row = statement.getRow();
And shows the next error:
uncaught exception:Console :Exec:88: Operation failed in Statement.getColumn.
if i change this to a Access DB it works..., but I need to acces a SQL DB,
Thank's in advance for you help...