nuevamente sobre el RDDADO
Posted: Thu May 17, 2007 1:48 am
Amigos del Foro:
Aun persiste el problema que anteriormente habia comentado, este pequeño programa :
//===========================
static function browRST()
//===========================
Public oDlg,oBrw
USE Personal1 VIA "ADORDD" TABLE "MAESTRO" MYSQL ;
FROM "Localhost" USER "root" PASSWORD "1234" ALIAS "MAESTRO"
DEFINE DIALOG oDlg FROM 1, 1 TO 25, 79
@ 1, 1 LISTBOX oBrw FIELDS MAESTRO->NUMERO, ;
MAESTRO->nombreS, ;
MAESTRO->APELLIDO1 ;
HEADERS "Codigo","Nombre ","Salario" ;
FIELDSIZES 60,200,60 ;
SIZE 284, 137 OF oDlg
@154,08 BTNBMP LEFT PROMPT " Agregar" SIZE 50,19 OF oDlg FILENAME "NEW1.BMP" ACTION oDlg:End()
@154,67 BTNBMP LEFT PROMPT " Modificar" SIZE 50,19 OF oDlg FILENAME "CARDF00C.BMP" ACTION oDlg:End()
@154,125 BTNBMP LEFT PROMPT " Borrar" SIZE 50,19 OF oDlg FILENAME "BORRAR1.BMP" //ACTION BorraU(oLbx )
@154,184 BTNBMP LEFT PROMPT " Buscar" SIZE 50,19 OF oDlg FILENAME "FIND.BMP" //ACTION BuscaU(oLbx,3,"Color")
@154,242 BTNBMP LEFT PROMPT " Salir" SIZE 50,19 OF oDlg FILENAME "SALIR3.BMP" ACTION oDlg:End()
ACTIVATE DIALOG oDlg CENTERED
CLOSE DATABASES
RETURN NIL
me envia el siguiente error :
pplication
===========
Path and name: C:\sistemas\RRHH_32\PERSONAL.exe (32 bits)
Size: 1,476,096 bytes
Time from start: 0 hours 0 mins 6 secs
Error occurred at: 16/05/2007, 19:43:36
Error description: Error ADODB.Recordset/16389 E_FAIL: OPEN
Args:
[ 1] = C MAESTRO
[ 2] = O Object
Stack Calls
===========
Called from: win32ole.prg => TOLEAUTO:OPEN(0)
Called from: => ADO_OPEN(263)
Called from: => DBUSEAREA(0)
Called from: => BROWRST(346)
Called from: personal.prg => (b)CREAMENU(118)
Called from: MENU.PRG => TMENU:COMMAND(0)
Called from: WINDOW.PRG => TWINDOW:COMMAND(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: WINDOW.PRG => TWINDOW:ACTIVATE(0)
Called from: personal.prg => PRINCIPAL(75)
System
======
CPU type: Intel(R) Celeron(R) M processor 1.60GHz 1600 Mhz
Hardware memory: 447 megs
Free System resources: 90 %
Antonio me sugirio revisar mis datos de conexion y estan correctos, uso Mysql 5.0, xharbour 0.99.71, adordd, borland++, a sugerencia de antonio compiler con el buildx que estoy utilizando el ejemplo de Mysql1 que proporcionan, y corre perfectamente conectandose con el servidor "www.freesql.org"
Agradezco cualquier orientacion al respecto, estoy en stand by.
Gracias de antemano,
Ramon Paredes
Managua Nicaragua
Aun persiste el problema que anteriormente habia comentado, este pequeño programa :
//===========================
static function browRST()
//===========================
Public oDlg,oBrw
USE Personal1 VIA "ADORDD" TABLE "MAESTRO" MYSQL ;
FROM "Localhost" USER "root" PASSWORD "1234" ALIAS "MAESTRO"
DEFINE DIALOG oDlg FROM 1, 1 TO 25, 79
@ 1, 1 LISTBOX oBrw FIELDS MAESTRO->NUMERO, ;
MAESTRO->nombreS, ;
MAESTRO->APELLIDO1 ;
HEADERS "Codigo","Nombre ","Salario" ;
FIELDSIZES 60,200,60 ;
SIZE 284, 137 OF oDlg
@154,08 BTNBMP LEFT PROMPT " Agregar" SIZE 50,19 OF oDlg FILENAME "NEW1.BMP" ACTION oDlg:End()
@154,67 BTNBMP LEFT PROMPT " Modificar" SIZE 50,19 OF oDlg FILENAME "CARDF00C.BMP" ACTION oDlg:End()
@154,125 BTNBMP LEFT PROMPT " Borrar" SIZE 50,19 OF oDlg FILENAME "BORRAR1.BMP" //ACTION BorraU(oLbx )
@154,184 BTNBMP LEFT PROMPT " Buscar" SIZE 50,19 OF oDlg FILENAME "FIND.BMP" //ACTION BuscaU(oLbx,3,"Color")
@154,242 BTNBMP LEFT PROMPT " Salir" SIZE 50,19 OF oDlg FILENAME "SALIR3.BMP" ACTION oDlg:End()
ACTIVATE DIALOG oDlg CENTERED
CLOSE DATABASES
RETURN NIL
me envia el siguiente error :
pplication
===========
Path and name: C:\sistemas\RRHH_32\PERSONAL.exe (32 bits)
Size: 1,476,096 bytes
Time from start: 0 hours 0 mins 6 secs
Error occurred at: 16/05/2007, 19:43:36
Error description: Error ADODB.Recordset/16389 E_FAIL: OPEN
Args:
[ 1] = C MAESTRO
[ 2] = O Object
Stack Calls
===========
Called from: win32ole.prg => TOLEAUTO:OPEN(0)
Called from: => ADO_OPEN(263)
Called from: => DBUSEAREA(0)
Called from: => BROWRST(346)
Called from: personal.prg => (b)CREAMENU(118)
Called from: MENU.PRG => TMENU:COMMAND(0)
Called from: WINDOW.PRG => TWINDOW:COMMAND(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: WINDOW.PRG => TWINDOW:ACTIVATE(0)
Called from: personal.prg => PRINCIPAL(75)
System
======
CPU type: Intel(R) Celeron(R) M processor 1.60GHz 1600 Mhz
Hardware memory: 447 megs
Free System resources: 90 %
Antonio me sugirio revisar mis datos de conexion y estan correctos, uso Mysql 5.0, xharbour 0.99.71, adordd, borland++, a sugerencia de antonio compiler con el buildx que estoy utilizando el ejemplo de Mysql1 que proporcionan, y corre perfectamente conectandose con el servidor "www.freesql.org"
Agradezco cualquier orientacion al respecto, estoy en stand by.
Gracias de antemano,
Ramon Paredes
Managua Nicaragua