Search found 152 matches: orec

Return to advanced search

Re: check on get

... that I have already done for many years it is possible to use ( oDlg:end( IDOK ) ) and ( oDlg:end( IDCANCEL ) ) ? and use IF oDlg:nresult == IDOK orec:save() ENDIF if I have to change all the insertion dialogs to check the get controls with the lsave variable I prefer not to do it, I waste years ...
by Silvio.Falconi
Sat Dec 02, 2023 11:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: check on get
Replies: 27
Views: 3939

To Nages: Record deleted but make error also RESOLVED

... 32 ] } )            oDbfMod:SaveArrayToDBF( cItemFlds, oBrowse:aDeleted )         endif save on first record the code (oRec:codRep) and save on 29 record the counter "00001" AEval( aDataForm, { |a| a[ 1 ] := oRec:codRep } )        ...
by Silvio.Falconi
Wed Nov 22, 2023 9:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages: Record deleted but make error also RESOLVED
Replies: 3
Views: 277

Re: Request : function GetSerialCol()

hi, thx for Answer Please copy the method SavePQQ() to a separate function "MySavePQQ( oRec )" in your program and make the changes you need. i can use your Sample with XBROWSE and :bLDblClick for "save" ok, i will try that Way --- instead of XBROWSER ...
by Jimmy
Tue Sep 26, 2023 6:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Request : function GetSerialCol()
Replies: 8
Views: 581

Re: Request : function GetSerialCol()

If you want to change the logic of the method SavePQQ(), please do this way. oRec := TDataRow():New( oRs, [lAppend] )oRec:bSave := { |oRec| MySavePQQ( oRec ) }oRec:Edit() Please copy the method SavePQQ() to a separate ...
by nageswaragunupudi
Tue Sep 26, 2023 3:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Request : function GetSerialCol()
Replies: 8
Views: 581

Isfree of Nages run ok but with others fields not work

... two fields as well, because now the function does not work correctly the search in the Nages function was cSearch := oDbf:ApplyParams( cSearch, { oRec:rooms_id, oRec:type, oRec:RecNo, ; oRec:check_out, oRec:check_in } ) now I don't understand if adding the other parameters can work cSearch := ...
by Silvio.Falconi
Thu Jun 15, 2023 8:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Isfree of Nages run ok but with others fields not work
Replies: 5
Views: 424

Re: XBROWSE : METHOD DataRow() -> TDataRow()

... { || youreditfunction() } :CreateFromCode() END You can always make your own editdialog in all style you like. We recommend oBrw:bEdit := { |oRec| OurEditFunction( oRec ) oRec is TDataRow object function OurEditFunction( oRec )   local lAppending := ( oRec:RecNo ...
by nageswaragunupudi
Sat May 06, 2023 1:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : METHOD DataRow() -> TDataRow()
Replies: 5
Views: 302

Re: Clase Nativa MySql

Instead of GetRowObj(), use oRec := oQry:Record() // returns FW_Record/TDataRow Object  You may edit the oRec object using oRec:FieldName in the Gets,etc/ Instead of GetBlankRow(), use oRec := oQry:Record( .t. ) // ...
by nageswaragunupudi
Wed Mar 09, 2022 5:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase Nativa MySql
Replies: 18
Views: 1851

editing yunus invoice

... without Tax: 25.05 Price with tax: 29.81 ( amount) Tax import: 4.76 How i can to implement this on yunus ? I modified on function EditInvoice( oRec ) I add this line before the xbrowse bCalcRow := { || (TotalRow(oBrw),  oBrw:RefreshFooters(), oDlg:Update() ...
by Silvio.Falconi
Tue Oct 19, 2021 9:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: editing yunus invoice
Replies: 8
Views: 526

Re: Lookup method of Tdatabase

... up memory for each copy. Please read the class definition again. database object and they would have to have different names oDbf:bEdit := { |oRec| MyNewEdit( oRec ) } oDbf:Edit()
by nageswaragunupudi
Sat Aug 21, 2021 8:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Lookup method of Tdatabase
Replies: 44
Views: 2866

Re: Lookup method of Tdatabase

... in each btnbmp I have saved some information in cargo such as the INVOICE reservation number So I cannot open function Edit_Reservation( oRec ) because I not have oRec on my function of edit reservation I have oPrenotazioni := TReserva():New() oRecPrenota:=oPrenotazioni:record(.t.) // ...
by Silvio.Falconi
Thu Aug 19, 2021 7:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Lookup method of Tdatabase
Replies: 44
Views: 2866

Re: today problem with savetodbf

... OTTO, I use another function Please see YUNUS.prg search static function EditInvoice( oRec ) .... if ! Empty( oBrw:aDeleted ) AEval( oBrw:aDeleted, { |a| a[ 9 ] := -a[ 9 ] } ) IIT->( FW_SaveArrayToDBF( cItemFlds, oBrw:aDeleted ) ) ...
by Silvio.Falconi
Thu Aug 19, 2021 4:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: edit a record with tdatabase - I am in trouble

... it in yunus' editinvoice function I saw that to load the records you do this aItems := IIT->( FW_DbfToArray( cItemFlds, { || IIT->INVNUM == oRec:InvNum } ) ) I changed this line static cItemFlds := "INVNUM,SERIAL,ITEMCODE,ITEMNAME,QUANTITY,UNIT,PRICE,DISCOUNT,RECNO()" into static ...
by Silvio.Falconi
Tue Jun 22, 2021 7:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: edit a record with tdatabase - I am in trouble
Replies: 8
Views: 1295

Re: tScrollPanel and Pelles C

Damiano, Please post the complete code for function EditDialog( oRec ) It seems as oDlg:oBrush has been changed to nil This little example works fine here, thats why I need to review your code: #include "FiveWin.ch"function Main()  ...
by Antonio Linares
Thu May 06, 2021 4:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tScrollPanel and Pelles C
Replies: 7
Views: 1184

Re: tScrollPanel and Pelles C

hi Antonio, thank you. Now I have another error. I'm try to modify dialogscroll.prg in samples folder and I added another editdialog(oRec) istruction: //----------------------------------------------------------------------------//function Main()   local oRec   SetGetColorFocus()  ...
by damianodec
Thu May 06, 2021 11:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tScrollPanel and Pelles C
Replies: 7
Views: 1184

Re: Requery nativa Mr.Rao.

... directamente. Hago : oSql:= oCon:Query( "SELECT * FROM articulos" ) ? oSql:lreadonly --> .f. Luego del :Requery() si lo edito : oRec:= TDataRow():New( ::oSql ) ? oRec:lReadonly, oRec:uSource:lReadOnly ---> .t., .t. por que hace esto ???
by Ariel
Mon Apr 26, 2021 3:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Requery nativa Mr.Rao.
Replies: 5
Views: 627
Next

Return to advanced search