bEditValid "xbrowse"

Post Reply
empresoft
Posts: 37
Joined: Mon Nov 12, 2007 12:46 pm
Location: BRAZIL

bEditValid "xbrowse"

Post by empresoft »

Colegas después de que el entrar en el sistema valida dos vezez

Code: Select all

oCol:= oBrw:AddCol()                       
oCol:bStrData      := { || compratemp->(trans(prcons,"@E 99,999.99")) }        
oCol:bEditValue    := { || compratemp->prcons }
oCol:nEditType   = EDIT_GET 
oCol:cEditPicture  := "@E 99,999.99"                  
oCol:cHeader       := "Pr.Venda"                       
oCol:bEditValid    := { | oGet,oCol |   valida_entr(oGet,oCol,oBrw,"PRCONS",@nValor,oDlg) } 
oCol:nWidth        := 70 
oCol:nHeadStrAlign := AL_RIGHT   
oCol:nDataStrAlign := AL_RIGHT    
 

Code: Select all

Function Valida_entr(oGet,oBrwCol,oBrw,aCCampos)
msgalert("aquí")                    //[b]por aquí dos veces [/b]
if acCampos="PRCONS"
   *** fazer tarefas    
endif
 
Gracias

Luiz Fernando

FWH 9.09 - XHARBOUR 1.2
FWH 804,XHARBOUR 1.1,XDEV,PELLES
User avatar
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

Re: bEditValid "xbrowse"

Post by Daniel Garcia-Gil »

our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
empresoft
Posts: 37
Joined: Mon Nov 12, 2007 12:46 pm
Location: BRAZIL

Re: bEditValid "xbrowse"

Post by empresoft »

Daniel Garcia-Gil wrote:Hola Empresoft

Mira este tema: http://forums.fivetechsupport.com/viewt ... lid#p82635

Perfecto amigo le dio certinho, gracias



Luiz Fernando

FWH 9.09 - XHARBOUR 1.2
FWH 804,XHARBOUR 1.1,XDEV,PELLES
Post Reply