Search found 92 matches: dbeval

Return to advanced search

Problemas con Menu POPUP.

... function MenuPrin() local i := 0 local TablaMnu := {} local cAccion // aca armo el menu de este usuario if Nivel==1 .OR. Nivel==2 OPCMENU->(DbEval({|| aadd(TablaMnu,{Orden,Tipo,Opcion,Mensaje,Accion,Imagen}) }; ,{|| !deleted() }; ,{|| !eof() })) elseif PERFILFW->(DbSetOrder(1),dbseek(cript(Usuari))) ...
by José Camilo
Mon Jun 05, 2023 3:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con Menu POPUP.
Replies: 2
Views: 204

Re: DBCMD/2001 Workarea not in use: ORDKEYNO

... ,; wfmovpro->(OrdScope(0,nNroTick)),; wfmovpro->(OrdScope(1,nNroTick)),; wfmovpro->(Dbgotop()),; aCredito:={} ,; wfmovpro->(Dbeval({|| AADD( aCredito,{ '',wfmovpro->codint,wfmovpro->producto,; if(empty(wfmovpro->cant),wfmovpro->unidades,wfmovpro->cant),; wfmovpro->preuni,; ...
by mterraz
Thu Jan 20, 2022 3:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DBCMD/2001 Workarea not in use: ORDKEYNO
Replies: 3
Views: 362

Re: oDbf:Delete() error

... personel curiossity ? I would like to know if oPermessi:Exec( { || DELETE FOR ALLTRIM(oPermessi:Usuario)==ALLTRIM(oUtenti:Clave) } ) acts like a dbeval and processes all scopes records... Static Function UtBorra(oUtenti,oPermessi,oGrid2,oGrid3,oBtnCambia)   local cClave:= oUtenti:Clave  ...
by Marc Venken
Sun Jun 06, 2021 8:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oDbf:Delete() error
Replies: 15
Views: 1208

Re: Forma Rapida de Contar Registros ?

Hola no lo he probado pero quizas resulte con dbeval()

Code: Select all  Expand view

      b->( dbEval( {|| iif( Subs(b->Tip_Pag,1,2)="VI".or.Subs(b->Tip_Pag,1,2)="CH", Reg:=Reg + 1, ) },, {||b->!Eof()}))
 
by artu01
Fri May 21, 2021 1:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Forma Rapida de Contar Registros *SOLUCIONADO*
Replies: 6
Views: 1067

Re: Change oBrw:aSelected outsite xbrowse

Thanks for sending me in the correct direction !!

In every lookup function (afther selection)
I will add records to the array with a dbeval(....aadd()..)
by Marc Venken
Sat Mar 20, 2021 10:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change oBrw:aSelected outsite xbrowse
Replies: 2
Views: 345

Re: Duplicar Array con registros que cumplan una condicion

Also a question about array but now dbeval function Test   local aGroepen:={}   use mailbulk NEW VIA "DBFCDX"   mailbulk->(dbsetorder("email"))   mailbulk->(dbgotop())   DBEVAL( ...
by Marc Venken
Mon May 11, 2020 8:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Duplicar Array con registros que cumplan una condicion
Replies: 7
Views: 1223

Re: Array TO XLS ?

... list of fileds. Eg:"FIRST,CITY,AGE" Default all fields. 2 to 6. bFor,bWhile,nNext,nRec,lRest: (Optional) Same functionality as in DBEVAL() 7. cFileName (Optional) If nil, data is exported to Excel and displayed. Returns the active sheet (oSheet). The user can do further work on ...
by nageswaragunupudi
Thu Apr 16, 2020 1:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Array TO XLS ?
Replies: 3
Views: 512

Re: Documentación sintaxis

... respectively. The return value of the code block must be specified with the RETURN statement. Info See also: {|| }, AEval(), AScan(), ASort(), DbEval(), Eval(), HEval(), LOCAL Category: Indirect execution , Operators , Special operators , xHarbour extensions LIB: xhb.lib DLL: xhbdll.dll Example ...
by nageswaragunupudi
Wed Oct 30, 2019 5:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Documentación sintaxis
Replies: 6
Views: 1439

Re: New FTDN September/Septiembre 2019 (FWH 19.09)

... bAction, [bFor], [bWhile], [nNext], [nRecNo], [lRest] ) --> Self Sintaxis extendida. Todos los parámetros tienen la misma funcionalidad de DBEVAL (), bAction se evalúa con Self como parámetro. Después de la ejecución, el puntero al registro se restaura. - Nuevo método FieldDefault( ncFld, ...
by Antonio Linares
Fri Oct 18, 2019 8:38 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 2897

New FTDN September/Septiembre 2019 (FWH 19.09)

... - Eval( bAction, [bFor], [bWhile], [nNext], [nRecNo], [lRest] ) --> Self Extended syntax. All parameters have the same functionality of DBEVAL() bAction is evaluated with Self as paramter. After execution record pointer is restored. - New method FieldDefault( ncFld, uDefaultValue ): ...
by Antonio Linares
Sun Oct 13, 2019 11:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 2897

Re: DBeval for unique values

Mr. Rao, I added the 4 array unique-tests to the tDatabase-samples http://www.pflegeplus.com/IMAGES/Network16.jpg This doesn't exist Is there a replacement for it :?: Case-2 and 3 : oCust: OrdSkipUnique()  // You have a normal index on LAST ( not unique )oCust:OrdSetFocus( "...
by ukoenig
Fri Feb 01, 2019 12:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBeval for unique values
Replies: 5
Views: 992

Re: DBeval for unique values

Thanks you for the options.

Some new technique's for me...
by Marc Venken
Thu Jan 31, 2019 10:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBeval for unique values
Replies: 5
Views: 992

Re: DBeval for unique values

... field STATE from customer.dbf Case-1: If you already have a Unique Index on STATE. aVals := {}SET ORDER TO TAG STATEUNQDBGOTOP()DBEVAL( { || AAdd( aVals, FIELD->STATE } )  Case-2: You have a normal index on STATE ( not unique )    OrdSetFocus( "STATE" ...
by nageswaragunupudi
Thu Jan 31, 2019 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBeval for unique values
Replies: 5
Views: 992

Re: DBeval for unique values

James, Asume the folowing I will Xbrowse all Customers and many colums end have the getbars on top of Xbrowse. I can put "Senford" in the col city, hit the filter button and I will have all customers from Senford. No let say that I don't know the possible city's. Therefore I want to make a...
by Marc Venken
Thu Jan 31, 2019 8:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBeval for unique values
Replies: 5
Views: 992

Re: DBeval for unique values

There is a "UNIQUE" clause for indexes: INDEX … UNIQUE That might help. However, It seems to me that you have already established the set of unique values, or are you going to let users enter new values too? Perhaps you need a separate database for these. I think we need more information.
by James Bott
Thu Jan 31, 2019 7:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBeval for unique values
Replies: 5
Views: 992
Next

Return to advanced search