Search found 132 matches: beditvalid

Return to advanced search

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

... := acTemporal //olbx101c:acols[4]:bEditBlock:= { mifuncion('1') } //olbx101c:acols[4]:bBmpAction := { |oCol| mifuncion('2') } //olbx101c:acols[4]:bEditValid :={|| mifuncion('2') } olbx101c:acols[4]:bEditWhen:= { || MsgInfo( ValType( olbx101c:aArrayData[olbx101c:nArrayAt][5] ) ), olbx101c:aArrayData[olbx101c:nArrayAt][5] ...
by elmoiquique
Thu Mar 28, 2024 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 10
Views: 2235

Re: Dudas y problemas con :bEditValid

Francisco:

Muchas gracias por el aporte, lo voy a intentar.

Saludos
by Armando
Sun Mar 26, 2023 5:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dudas y problemas con :bEditValid
Replies: 4
Views: 473

Re: Dudas y problemas con :bEditValid

Hola Armando. Esto es para DBF, pero creo que la misma logica te servirá traduciendola a MySql: //Agregar 1 registro si el campo fecha de linea anterior no está vacío  WITH OBJECT oBrw   :bPastEof  := { || if( !Empty(oBrw:Fecha:Value)  ,;     ...
by FranciscoA
Sun Mar 26, 2023 4:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dudas y problemas con :bEditValid
Replies: 4
Views: 473

Re: Dudas y problemas con :bEditValid

Hola César:

Muchas gracias voy a tirar por el INSERT IGNORE.

Saludos
by Armando
Sun Mar 26, 2023 1:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dudas y problemas con :bEditValid
Replies: 4
Views: 473

Re: Dudas y problemas con :bEditValid

Puedes controlarlo en la funcion Agregar haciendo el control de que no haya ya agregado un registro en blanco ************************************************************** Agregar un familiar a la listaSTATIC FUNCTION Agregar(oBrw)LOCAL lRta, oError, baseIF oApp:oServer:Query("SELE...
by cmsoft
Sat Mar 25, 2023 3:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dudas y problemas con :bEditValid
Replies: 4
Views: 473

Dudas y problemas con :bEditValid

... Agregar(oBrw)}            <= Se agrega un registro e blanco y espera lo que teclee el usuario:bEditValid := { | oGet, oCol | Validar(oBrw,oGet:VarGet()) }   En la funcion Validar(), puede devolver (.T.) o (.F.) ...
by Armando
Sat Mar 25, 2023 2:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dudas y problemas con :bEditValid
Replies: 4
Views: 473

Re: Reitero consulta para actualizar un campo con XBrowse

... oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)} oBrw:aCols[ 7 ]:nEditType := EDIT_GET oBrw:aCols[ 7 ]:bEditValid := {|| if(1=1,(_ArtFor->Total := _ArtFor->Pedir*_ArtFor->Costo,msginfo('jjjj'),refXbrw(_ArtFor->(Recno())),_ArtFor->(Eof()),.t.),.f.) ...
by José Camilo
Sun Feb 12, 2023 4:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Reitero consulta para actualizar un campo con XBrowse
Replies: 6
Views: 502

Re: Reitero consulta para actualizar un campo con XBrowse

Cambia el bEditValid por bEditValue
by cnavarro
Sun Feb 12, 2023 3:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Reitero consulta para actualizar un campo con XBrowse
Replies: 6
Views: 502

Reitero consulta para actualizar un campo con XBrowse

... una funcion aparte y no lo consigo. Se Puede realizar? Si alguien me orienta lo agradecere. oBrw:aCols[ 7 ]:nEditType := EDIT_GET oBrw:aCols[ 7 ]:bEditValid := {|| if(1=1,(_ArtFor->Total := _ArtFor->Pedir*_ArtFor->Costo_ArtFor->(Eof()),msginfo('jjjj'),refXbrw(_ArtFor->(Recno()))_ArtFor->(Eof()),.t.),.f.) ...
by José Camilo
Sat Feb 11, 2023 3:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Reitero consulta para actualizar un campo con XBrowse
Replies: 6
Views: 502

ArrayIncrFilter

... := EDIT_GET oCol:bOnPostEdit := { | oCol, xVal, nKey | If( nKey == VK_RETURN,aData[oFld:nOption][oBrw[oFld:nOption]:nArrayAt,3]:=xVal,) } oCol:bEditValid := { | oGet, oCol | (CargaPrecio(oGet,oBrw,aData,oFld:nOption)) } oCol:cFooter := 'Total' oCol:nFootStrAlign:= AL_CENTER ElseIf n ==4 oCol:bFooter ...
by jbrita
Thu Apr 01, 2021 2:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ArrayIncrFilter
Replies: 2
Views: 634

Re: FWH 1805: XBrowse New syntax

... automatically decides the width, picture, align and sort order. Unless it is really necessary, it is not necessary to specify these. nEditType, bEditValid, bitmaps are all to be assigned separately as normal.
by nageswaragunupudi
Tue May 19, 2020 6:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 1805: XBrowse New syntax
Replies: 4
Views: 1096

Re: xBrowse: bOnRowLeave

Rao,
I can do a workaround using bEditValid for Gets but has no solution for checkboxes.

Any idea?
by hua
Sat Apr 18, 2020 4:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: bOnRowLeave
Replies: 7
Views: 1156

Re: xBrowse: bOnRowLeave

Tried :bEditValid but seems checkbox won't trigger it
by hua
Fri Apr 17, 2020 6:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: bOnRowLeave
Replies: 7
Views: 1156

Error XBrowse edit_listbox

... igual mal con EDIT_LISTBOX // :cEditPicture := "@z 9999" :bEditWhen := { || LEN(oBrwPlan:aArrayData)>0.AND.oBrwPlan:aRow[03]==0 } // :bEditValid := { | oGet, oCol | ValidaCodArt( oGet, oCol, oBrwArticulo, oSelf:cPathRs ) } :aEditListTxt := ArrTranspose( aPlanes )[02] :aEditListBound ...
by Ariel
Thu Oct 17, 2019 11:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error XBrowse edit_listbox
Replies: 13
Views: 2617

Re: In xbrowse valid is Executed twice

Paste operation ignores both bEditWhen and bEditValid. Paste operation works on multiple cells and multiple rows. bEditValid is programmed to work with a Get and there is no Get in paste operation. Also despite our advices that bEditValid should ...
by nageswaragunupudi
Fri Jun 14, 2019 3:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: In xbrowse valid is Executed twice
Replies: 6
Views: 1182
Next

Return to advanced search