Page 1 of 1

GRID con MDB

Posted: Mon May 10, 2010 1:25 pm
by claudiotedesco
Hola Gente

Le adjunto un ejemplo utilizando el GRid con una base MDB
Me da el siguiente error:

Error DBCMD/2001 Workarea not in use: DBEVAL
Called from DBEVAL(0)
Called from GETDATAGRIDRECCOUNT(2651)
Called from _DEFINEGRID(139)
Called from MAIN(75)


Si alguien me puede ayudar se los agradezco
Saludos

Re: GRID con MDB

Posted: Mon May 10, 2010 2:02 pm
by Roberto Lopez
claudiotedesco wrote:Hola Gente

Le adjunto un ejemplo utilizando el GRid con una base MDB
Me da el siguiente error:

Error DBCMD/2001 Workarea not in use: DBEVAL
Called from DBEVAL(0)
Called from GETDATAGRIDRECCOUNT(2651)
Called from _DEFINEGRID(139)
Called from MAIN(75)


Si alguien me puede ayudar se los agradezco
Saludos
This is not a bug.

This is a problem in your code.

Your workarea alias is "base"

Code: Select all

DBUSEAREA( .T.,, "select * from articulos", "base" )
But your RowSOurce property is set to "articulos"

Code: Select all

ROWSOURCE "articulos"
ROWSOURCE "articulos"

Correcting that your sample works fine.

Re: GRID con MDB

Posted: Mon May 10, 2010 4:28 pm
by claudiotedesco
Muchas gracias por tu respuesta
Saludos