ADORDD Error : ADODEFAULT(5256)
Posted: Tue Jun 16, 2015 4:49 am
I'm just new with ADORDD, I try the ADORDD.PRG but it has got an error below
This is my example, what I do wrong?
This is my example, what I do wrong?
- Code: Select all Expand view
- #include 'adordd.ch'
#include 'fivewin.ch'
REQUEST ADORDD
Function main
LOCAL cSql :=""
RddRegister("ADORDD",1)
RddSetDefault("ADORDD")
USE easyfo TABLE "ccrtbl" VIA "ADORDD" ALIAS "tbl" MYSQL ;
FROM "localhost" USER "root" PASSWORD "nimda"
msginfo( tbl->tbl_intno )
CLOSE tbl
return nil
- Code: Select all Expand view
- Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... } length: 0
[ 2] = N 1
Stack Calls
===========
Called from: D:\FTDN\adordd\AdoRdd\adordd.prg => ADODEFAULTS( 5256 )
Called from: D:\FTDN\adordd\AdoRdd\adordd.prg => ADOCONNECT( 413 )
Called from: D:\FTDN\adordd\AdoRdd\adordd.prg => ADO_OPEN( 255 )
Called from: => DBUSEAREA( 0 )
Called from: D:\V6\TADORDD\test.prg => MAIN( 17 )