Application
===========
Path and name: D:\Sistema Pollosa\Almacen\WinAlmacen.exe (32 bits)
Size: 8,274,432 bytes
Compiler version: Harbour 3.2.0dev (r1603082110)
FiveWin version: FWH 17.12
C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
Windows version: 6.2, Build 9200
Time from start: 0 hours 0 mins 7 secs
Error occurred at: 13/02/2018, 23:38:27
Error description: Error MYSQL/1052 Column 'codigo' in where clause is ambiguous
Stack Calls
===========
Called from: .\source\prg\tdolpsrv.prg => DOLPHIN_DEFERROR( 2816 )
Called from: .\source\prg\tdolpsrv.prg => TDOLPHINSRV:CHECKERROR( 802 )
Called from: .\source\prg\tdolpsrv.prg => TDOLPHINSRV:SQLQUERY( 2021 )
Called from: .\source\prg\tdolpqry.prg => TDOLPHINQRY:LOADQUERY( 1340 )
Called from: .\source\prg\tdolpqry.prg => (b)TDOLPHINQRY( 249 )
Called from: .\source\prg\tdolpqry.prg => TDOLPHINQRY:REQUERY( 0 )
Called from: D:\PROYEC~1\Lib\harbour\Source\prg\DO5AF2~1.PRG => DISPLAYDATAQUERY( 1059 )
Called from: D:\PROYEC~1\Lib\harbour\Source\prg\DO5AF2~1.PRG => QUICKEYCHAR( 991 )
Called from: D:\PROYEC~1\Lib\harbour\Source\prg\DO5AF2~1.PRG => (b)QUICKSEARCH( 964 )
Called from: .\source\classes\TGET.PRG => TGET:KEYCHAR( 1485 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1731 )
Called from: .\source\classes\TGET.PRG => TGET:HANDLEEVENT( 805 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3356 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
Called from: D:\PROYEC~1\Lib\harbour\Source\prg\DO5AF2~1.PRG => QUICKSEARCH( 971 )
Called from: D:\PROYEC~1\Lib\harbour\Source\prg\DO5AF2~1.PRG => QSEEKWILD( 889 )
Called from: D:\PROYEC~1\Lib\harbour\Source\prg\DO5AF2~1.PRG => QUERYSEEKWILD( 863 )
Called from: D:\PROYEC~1\Software\POLLOS~1\Source\almacen.prg => (b)DO_ALMACEN( 142 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:KEYCHAR( 3196 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1731 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 10297 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3356 )
Called from: => DIALOGBOX( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
Called from: D:\PROYEC~1\Software\POLLOS~1\Source\almacen.prg => DO_ALMACEN( 155 )
Called from: D:\PROYEC~1\Software\POLLOS~1\Source\WINALM~1.PRG => (b)POPUPINVENTARIO( 374 )
Called from: .\source\classes\MENU.PRG => TMENU:ACTIVATE( 1582 )
Called from: D:\PROYEC~1\Software\POLLOS~1\Source\WINALM~1.PRG => POPUPINVENTARIO( 391 )
Called from: D:\PROYEC~1\Software\POLLOS~1\Source\WINALM~1.PRG => (b)MAIN( 162 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 688 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 928 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1883 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3356 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1037 )
Called from: D:\PROYEC~1\Software\POLLOS~1\Source\WINALM~1.PRG => MAIN( 211 )
System
======
CPU type: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz 3193 Mhz
Hardware memory: 6044 megs
Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %
Windows total applications running: 5
1 ,
2 , C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.16299.192_none_5d76048
3 , D:\Sistema Pollosa\Almacen\WinAlmacen.exe
4 DDE Server Window, C:\WINDOWS\System32\OLE32.DLL
5 G, C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.16299.192_none_8e60f76b0273650
Variables in use
================
Procedure Type Value
==========================
DOLPHIN_DEFERROR
Param 1: O Class: ERROR
TDOLPHINSRV:CHECKERROR
Param 1: O Class: TDOLPHINSRV
Param 2: N 1052
Param 3: L .F.
Param 4: C ""
Local 1: O Class: ERROR
TDOLPHINSRV:SQLQUERY
Local 1: N 1052
Local 2: U
Local 3: L .F.
TDOLPHINQRY:LOADQUERY
Param 1: C " SELECT a.codigo,
a.tipo_producto,
CASE a.tipo_producto
WHEN 1 THEN 'Materia_Prima'
WHEN 2 THEN 'Terminado'
WHEN 3 THEN 'Procesado'
WHEN 4 THEN 'Suministro'
END AS name_tipo_producto,
a.tipo,
a.componente,
a.cantidad,
a.costo,
a.costopromedio,
a.precio,
a.alicuota,
a.fecha,
a.vencimiento,
a.tipo_venta,
CASE a.tipo_venta WHEN 1 THEN 'Propio' ELSE 'Franquicia' END AS name_tipo_venta,
a.porcentaje,
a.my_recno,
b.descripcion AS nametipo,
c.descripcion AS namecompon,
d.nombre,
d.descripcion,
d.medida,
d.marca
FROM Almacen_ a
LEFT JOIN RefeTipo b ON a.tipo = b.tipo
LEFT JOIN RefeComp c ON a.tipo = c.tipo AND a.componente = c.componente
LEFT JOIN Catalogo d ON a.codigo = d.codigo
WHERE codigo LIKE '%26%'"
Local 1: U
Local 2: N 1
Local 3: N 985
(b)TDOLPHINQRY
Local 1: L .T.
Local 2: U
Local 3: U
Local 4: O Class: TDOLPHINSRV
Local 5: C " SELECT a.codigo,
a.tipo_producto,
CASE a.tipo_producto
WHEN 1 THEN 'Materia_Prima'
WHEN 2 THEN 'Terminado'
WHEN 3 THEN 'Procesado'
WHEN 4 THEN 'Suministro'
END AS name_tipo_producto,
a.tipo,
a.componente,
a.cantidad,
a.costo,
a.costopromedio,
a.precio,
a.alicuota,
a.fecha,
a.vencimiento,
a.tipo_venta,
CASE a.tipo_venta WHEN 1 THEN 'Propio' ELSE 'Franquicia' END AS name_tipo_venta,
a.porcentaje,
a.my_recno,
b.descripcion AS nametipo,
c.descripcion AS namecompon,
d.nombre,
d.descripcion,
d.medida,
d.marca
FROM Almacen_ a
LEFT JOIN RefeTipo b ON a.tipo = b.tipo
LEFT JOIN RefeComp c ON a.tipo = c.tipo AND a.componente = c.componente
LEFT JOIN Catalogo d ON a.codigo = d.codigo
WHERE codigo LIKE '%26%'"
Local 6: L .T.
TDOLPHINQRY:REQUERY
Param 1: O Class: TDOLPHINQRY
DISPLAYDATAQUERY
QUICKEYCHAR
Param 1: C "26"
Param 2: O Class: TDOLPHINQRY
Param 3: O Class: TXBROWSE
Local 1: C " SELECT a.codigo,
a.tipo_producto,
CASE a.tipo_producto
WHEN 1 THEN 'Materia_Prima'
WHEN 2 THEN 'Terminado'
WHEN 3 THEN 'Procesado'
WHEN 4 THEN 'Suministro'
END AS name_tipo_producto,
a.tipo,
a.componente,
a.cantidad,
a.costo,
a.costopromedio,
a.precio,
a.alicuota,
a.fecha,
a.vencimiento,
a.tipo_venta,
CASE a.tipo_venta WHEN 1 THEN 'Propio' ELSE 'Franquicia' END AS name_tipo_venta,
a.porcentaje,
a.my_recno,
b.descripcion AS nametipo,
c.descripcion AS namecompon,
d.nombre,
d.descripcion,
d.medida,
d.marca
FROM Almacen_ a
LEFT JOIN RefeTipo b ON a.tipo = b.tipo
LEFT JOIN RefeComp c ON a.tipo = c.tipo AND a.componente = c.componente
LEFT JOIN Catalogo d ON a.codigo = d.codigo
WHERE codigo LIKE '%26%'"
Local 2: C "codigo"
(b)QUICKSEARCH
Param 1: N 54
Param 2: O Class: TDOLPHINQRY
Param 3: O Class: TXBROWSE
Param 4: O Class: TGET
Local 1: C "26"
TGET:KEYCHAR
Param 1: N 54
Param 2: N 5046273
Param 3: O Class: TGET
TWINDOW:HANDLEEVENT
Param 1: N 54
Param 2: N 5046273
Local 1: U
Local 2: U
Local 3: U
Local 4: U
TCONTROL:HANDLEEVENT
Param 1: N 258
Param 2: N 54
Param 3: N 5046273
TGET:HANDLEEVENT
Param 1: N 258
Param 2: N 54
Param 3: N 5046273
Local 1: U
_FWH
Param 1: N 258
Param 2: N 54
Param 3: N 5046273
Local 1: U
Local 2: U
DIALOGBOXINDIRECT
Param 1: N 5046273
Param 2: N 258
Param 3: N 54
Param 4: N 5046273
Param 5: N 54
Local 1: O Class: TGET
TDIALOG:ACTIVATE
Param 1: N 4194304
Param 2: C "€ € Yÿ‹ÿ6" P Œ – S T A T I C B U S C A R P O R C O D I G O : € P ( — E D I T 2 "
Param 3: N 1510008
Param 4: O Class: TDIALOG
QUICKSEARCH
Param 1: U
Param 2: U
Param 3: U
Param 4: L .F.
Param 5: U
Param 6: L .T.
Param 7: B {|| ... }
Param 8: U
Param 9: U
Param 10: U
Param 11: U
Local 1: N 1510008
Local 2: S
Local 3: O Class: TDIALOG
QSEEKWILD
Param 1: O Class: TDOLPHINQRY
Param 2: O Class: TXBROWSE
Param 3: N 50
Local 1: O Class: TDIALOG
Local 2: O Class: TFONT
Local 3: O Class: TGET
Local 4: C "2 "
Local 5: C "BUSCAR POR CODIGO :"
Local 6: L .T.
Local 7: A Len: 2
Local 8: O Class: TXBRWCOLUMN
Local 9: L .F.
QUERYSEEKWILD
Param 1: O Class: TXBROWSE
Param 2: O Class: TDOLPHINQRY
Param 3: C " SELECT a.codigo,
a.tipo_producto,
CASE a.tipo_producto
WHEN 1 THEN 'Materia_Prima'
WHEN 2 THEN 'Terminado'
WHEN 3 THEN 'Procesado'
WHEN 4 THEN 'Suministro'
END AS name_tipo_producto,
a.tipo,
a.componente,
a.cantidad,
a.costo,
a.costopromedio,
a.precio,
a.alicuota,
a.fecha,
a.vencimiento,
a.tipo_venta,
CASE a.tipo_venta WHEN 1 THEN 'Propio' ELSE 'Franquicia' END AS name_tipo_venta,
a.porcentaje,
a.my_recno,
b.descripcion AS nametipo,
c.descripcion AS namecompon,
d.nombre,
d.descripcion,
d.medida,
d.marca
FROM Almacen_ a
LEFT JOIN RefeTipo b ON a.tipo = b.tipo
LEFT JOIN RefeComp c ON a.tipo = c.tipo AND a.componente = c.componente
LEFT JOIN Catalogo d ON a.codigo = d.codigo
ORDER BY
"
Param 4: C "codigo"
Param 5: N 50
Param 6: L .F.
(b)DO_ALMACEN
Param 1: O Class: TXBROWSE
Param 2: O Class: TDOLPHINQRY
Param 3: C " SELECT a.codigo,
a.tipo_producto,
CASE a.tipo_producto
WHEN 1 THEN 'Materia_Prima'
WHEN 2 THEN 'Terminado'
WHEN 3 THEN 'Procesado'
WHEN 4 THEN 'Suministro'
END AS name_tipo_producto,
a.tipo,
a.componente,
a.cantidad,
a.costo,
a.costopromedio,
a.precio,
a.alicuota,
a.fecha,
a.vencimiento,
a.tipo_venta,
CASE a.tipo_venta WHEN 1 THEN 'Propio' ELSE 'Franquicia' END AS name_tipo_venta,
a.porcentaje,
a.my_recno,
b.descripcion AS nametipo,
c.descripcion AS namecompon,
d.nombre,
d.descripcion,
d.medida,
d.marca
FROM Almacen_ a
LEFT JOIN RefeTipo b ON a.tipo = b.tipo
LEFT JOIN RefeComp c ON a.tipo = c.tipo AND a.componente = c.componente
LEFT JOIN Catalogo d ON a.codigo = d.codigo
ORDER BY
"
Param 4: N 50
Local 1: U
Local 2: N 1
Local 3: C "codigo"
TXBROWSE:KEYCHAR
Param 1: N 50
Param 2: N 5242881
Param 3: O Class: TXBROWSE
Param 4: O Class: TXBRWCOLUMN
TWINDOW:HANDLEEVENT
Param 1: N 50
Param 2: N 5242881
Local 1: B {|| ... }
Local 2: O Class: TXBRWCOLUMN
Local 3: U
Local 4: U
TCONTROL:HANDLEEVENT
Param 1: N 258
Param 2: N 50
Param 3: N 5242881
TXBROWSE:HANDLEEVENT
Param 1: N 258
Param 2: N 50
Param 3: N 5242881
Local 1: U
_FWH
Param 1: N 258
Param 2: N 50
Param 3: N 5242881
DIALOGBOX
Param 1: N 5242881
Param 2: N 258
Param 3: N 50
Param 4: N 5242881
Param 5: N 12
Local 1: O Class: TXBROWSE
TDIALOG:ACTIVATE
Param 1: N 4194304
Param 2: C "xbrowse"
Param 3: N 7014758
Param 4: O Class: TDIALOG
DO_ALMACEN
Param 1: U
Param 2: U
Param 3: U
Param 4: L .T.
Param 5: B {|| ... }
Param 6: L .T.
Param 7: B {|| ... }
Param 8: U
Param 9: U
Param 10: U
Param 11: U
Local 1: N 7014758
Local 2: S
Local 3: O Class: TDIALOG
(b)POPUPINVENTARIO
Local 1: O Class: TDOLPHINQRY
Local 2: C " SELECT a.codigo,
a.tipo_producto,
CASE a.tipo_producto
WHEN 1 THEN 'Materia_Prima'
WHEN 2 THEN 'Terminado'
WHEN 3 THEN 'Procesado'
WHEN 4 THEN 'Suministro'
END AS name_tipo_producto,
a.tipo,
a.componente,
a.cantidad,
a.costo,
a.costopromedio,
a.precio,
a.alicuota,
a.fecha,
a.vencimiento,
a.tipo_venta,
CASE a.tipo_venta WHEN 1 THEN 'Propio' ELSE 'Franquicia' END AS name_tipo_venta,
a.porcentaje,
a.my_recno,
b.descripcion AS nametipo,
c.descripcion AS namecompon,
d.nombre,
d.descripcion,
d.medida,
d.marca
FROM Almacen_ a
LEFT JOIN RefeTipo b ON a.tipo = b.tipo
LEFT JOIN RefeComp c ON a.tipo = c.tipo AND a.componente = c.componente
LEFT JOIN Catalogo d ON a.codigo = d.codigo
ORDER BY
"
Local 3: O Class: TDIALOG
Local 4: O Class: TXBROWSE
Local 5: O Class: TFONT
Local 6: O Class: TBAR
Local 7: A Len: 13
Local 8: L .F.
TMENU:ACTIVATE
Param 1: O Class: TMENUITEM
POPUPINVENTARIO
Param 1: N 76
Param 2: N 249
Param 3: O Class: TBAR
Param 4: L .T.
Param 5: N 0
Local 1: A Len: 2
(b)MAIN
Param 1: O Class: TBTNBMP
Local 1: O Class: TMENU
TBTNBMP:CLICK
Param 1: O Class: TBTNBMP
TBTNBMP:LBUTTONUP
TCONTROL:HANDLEEVENT
Param 1: N 47
Param 2: N 35
Param 3: N 0
Local 1: L .T.
Local 2: N 0
Local 3: S
TBTNBMP:HANDLEEVENT
Param 1: N 514
Param 2: N 0
Param 3: N 3080227
Local 1: U
_FWH
Param 1: N 514
Param 2: N 0
Param 3: N 3080227
WINRUN
Param 1: N 3080227
Param 2: N 514
Param 3: N 0
Param 4: N 3080227
Param 5: N 6
Local 1: O Class: TBTNBMP
TWINDOW:ACTIVATE
Param 1: N 7014758
MAIN
Param 1: C "MAXIMIZED"
Param 2: U
Param 3: U
Param 4: U
Param 5: U
Param 6: B {|| ... }
Param 7: U
Param 8: B {|| ... }
Param 9: U
Param 10: U
Param 11: U
Param 12: U
Param 13: U
Param 14: U
Param 15: U
Param 16: U
Param 17: B {|| ... }
Param 18: U
Param 19: U
Param 20: L .F.
Local 1: O Class: TWINDOW
Local 2: U
Local 3: U
Linked RDDs
===========
DBF
DBFFPT
DBFBLOB
DBFCDX
DBFNTX
DataBases in use
================
Classes in use:
===============
1 ERROR
2 HBCLASS
3 HBOBJECT
4 TDOLPHINQRY
5 TWINDOW
6 TCONTROL
7 TXBROWSE
8 TXBRWCOLUMN
9 TGET
10 TCOMBOBOX
11 TMULTIGET
12 TVARIABLE
13 TMYSQLSERVER
14 TBRUSH
15 TDIALOG
16 TFONT
17 TREG32
18 TRECT
19 TDOLPHINSRV
20 TBITMAP
21 TICON
22 TBAR
23 TBTNBMP
24 TMSGBAR
25 TMSGITEM
26 TTIMER
27 TMENU
28 TMENUITEM
29 TSAY
30 TSCROLLBAR
31 TCLIPBOARD
32 GET
33 TCLIPGET
34 TSTRUCT
Memory Analysis
===============
541 Static variables
Dynamic memory consume:
Actual Value: 2162688 bytes
Highest Value: 2162688 bytes