- Code: Select all Expand view
- #include "FiveWin.ch"
#include "xbrowse.ch"
FUNCTION MAIN()
SET EPOCH TO 1990
SET DATE ITALIAN
SET DELETED ON
SET SCOREBOARD OFF
SET CONFIRM ON
SET WRAP ON
SET CENTURY ON
SETHANDLECOUNT(255)
SET 3DLOOK ON
DEFINE WINDOW PRIN TITLE "titulo";
VSCROLL HSCROLL MDI icon oIco
DEFINE BUTTONBAR oBar _3D SIZE 33, 33 OF PRIN
if activ_menu(1,1)
DEFINE BUTTON FILE "BMP\ICON32\ARTICULO32.bmp" OF oBar ;
ACTION articul() tooltip "Artículos" GROUP NOBORDER
endif
ACTIVATE WINDOW PRIN;
ON RESIZE OBMPFndo:Center();
MAXIMIZED;
VALID FIN()
RETURN NIL
FUNCTION CLIENTES(prin)
CLOSE ALL
SELECT 1
USE CLIENTES INDEX CODCLIEN,NOMCLIEN,COMCLIEN, TELCLIEN, DNICLIEN, POBCLIEN NEW ALIAS dbCLI SHARED
DEFINE WINDOW INICIO_C TITLE "Gestión de Clientes" MDICHILD OF PRIN
@ 0, 0 XBROWSE LIS_CLI;
FIELDS dbCLI->CODIGO,dbCLI->NOMBRE,dbCLI->NOMBRECOM,dbCLI->TELEFONO,dbCLI->DNI,dbCLI->POBLACION;
HEADERS "Código","Nombre","Nombre Comercial","Teléfono","DNI","Pob.";
COLSIZES nil,15 OF INICIO_C ;
SIZE 800,600 PIXEL
//AUTOSORT FOOTERS LINES CELL
LIS_CLI:CreateFromCode()
ACTIVATE window INICIO_C
CLOSE ALL
RETURN NIL
Y es te es el fallo que me salta:
- Code: Select all Expand view
Application
===========
Path and name: C:\ges5.0\menu.exe (32 bits)
Size: 4,428,288 bytes
Compiler version: Harbour 3.2.0dev (r1307082134)
FiveWin Version: FWH 13.12
Windows version: 6.1, Build 7601 Service Pack 1
Time from start: 0 hours 0 mins 4 secs
Error occurred at: 08-12-2014, 18:56:11
Error description: Error DBCMD/2001 Area de trabajo no usada: __DBSKIPPER
Stack Calls
===========
Called from: => __DBSKIPPER( 0 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE_SETRDD( 4048 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE( 441 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SKIP( 0 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT( 1500 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY( 1355 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1699 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 12194 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3236 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1003 )
Called from: .\menu.PRG => MAIN( 186 )
He probado, según he leído en el foro a poner esta función en mi prg, con un solo guión "_" con dos guiones "__", y nada:
- Code: Select all Expand view
FUNCTION _DbSkipper( n )
RETURN __DbSkipper( n )
Os agradezco la ayuda. Un saludo.