error con esta macro, no lo se ??'

Post Reply
luis cortes
Posts: 17
Joined: Wed Oct 12, 2005 8:38 pm
Location: antofagasta

error con esta macro, no lo se ??'

Post by luis cortes »

amigos, tengo esto y me sale el sgte error, quien me puede ayudar :

Add Column To Browse oLbx1;
DATA FieldWBlock("Can_Art",Select("&(Archi)"));
EDITABLE;
3DLOOK TRUE MOVE DT_MOVE_RIGHT;
PICTURE "9999.99";
Head "Cantidad" Width 70 Align 2,1;
COLORS nRgb(0,0,0),nRgb(160,235,170);
Post Edit(Venta1->Tot_art:=Venta1->Can_Art*Venta1->Pre_Art,;
Calcula_Total(),oLbx1:Refresh())


Error
Path and name: C:\SISTEM~2\GESTION.dwd
Size: 0 bytes
Max files handles permited: ( SetHandleCount() ) 100
Error ocurred at: 08-11-2005, 15:55:01
Error description: Error BASE/1122 Argument error: TRANSFORM
Args:
[ 1] = U
[ 2] = C

Stack Calls
===========
Called from LOCKERRHAN(0)
Called from (b)INITHANDL$(0)
Called from TSBROWSE:DRAWSELECT(2547)
Called from TSBROWSE:PAINT(5535)
Called from TSBROWSE:DISPLAY(1793)
Called from TSBROWSE:HANDLEEVEN(0)
Called from TSBROWSE:HANDLEEVEN(8604)
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(0)
Called from PRG_2221(327)
Called from (b)BUILDMENU(181)
Called from TMENU:COMMAND(0)
Called from TMDIFRAME:COMMAND(0)
Called from TMDIFRAME:COMMAND(0)
Called from TMDIFRAME:HANDLEEVEN(0)
Called from WINRUN(0)
Called from TMDIFRAME:ACTIVATE(0)
Called from MAIN(114)
User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

Opción

Post by Armando »

Luis:

Mira este ejemplo.

REDEFINE BROWSE oBrw ALIAS (cDePaso) UPDATE GRID ID 200 OF oDlg;
WHEN ! EMPTY(oCab:HDR_NOM)

ADD COLUMN TO oBrw;
HEADER "Producto";
SIZE 95 PIXELS ;
DATA FIELDWBLOCK("MOV_PRO",SELECT(cDePaso));
ALIGN DT_LEFT,DT_LEFT,DT_RIGHT;
EDITABLE;
PICTURE "@!K";
FOOTER { || TRANSFORM(nTotItm,"@Z 9,999") };
MOVE DT_MOVE_NEXT

Saludos, Armando
Post Reply