GRID con MDB

Moderator: Rathinagiri

Post Reply
claudiotedesco
Posts: 132
Joined: Thu Jul 31, 2008 12:05 pm

GRID con MDB

Post 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
Attachments
eje13.rar
(606.28 KiB) Downloaded 377 times
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: GRID con MDB

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
claudiotedesco
Posts: 132
Joined: Thu Jul 31, 2008 12:05 pm

Re: GRID con MDB

Post by claudiotedesco »

Muchas gracias por tu respuesta
Saludos
Post Reply