Search found 23 matches: avals

Return to advanced search

Re: Search for a number on xbrowse and highlight it

... THANKS RAO now I make a new Method on mt Tlotto Class called Method NagesProcedure(aCell,aVals) CLASS TLotto where I put your source and now seems run ok and call this method every time I go to change the structure of the array :: aArray ...
by Silvio.Falconi
Thu Oct 13, 2022 7:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search for a number on xbrowse and highlight it
Replies: 9
Views: 620

Re: search highest digit in the array

Silvio,

if you want to have the last of same values you must change only one line of my function.

if aVals[nR, nC] >= nMax // instead of only "="
by Detlef
Thu Mar 10, 2022 9:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: search highest digit in the array
Replies: 7
Views: 471

Re: search highest digit in the array

... 255, 0,0 ),RGB( 252, 235, 220 )) oBrw:KeyNo:= nRowSelect static Function Colorize_Max(oBrw,nColor1,nColor2) local avals:= oBrw:aArraydata local atest:= aFindMax( aVals ) local nRow:= atest[1] local nCol:= atest[2] oBrw:aCols[nCol]:bClrStd := {|| { CLR_BLACK,IIf(oBrw:nArrayAt=nRow, ...
by Silvio.Falconi
Thu Mar 10, 2022 8:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: search highest digit in the array
Replies: 7
Views: 471

Re: clarification respect a recordset

... it in the client's memory. We normally open recordsets using adLockOptimistic . All calls to the methods Update(), Delete() and AddNew( aCols, aVals ) make the changes to the underlying database immediately and are visible to other users on the network. We can also open the recordset using ...
by nageswaragunupudi
Sat Aug 31, 2019 4:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: clarification respect a recordset
Replies: 14
Views: 3319

Re: A problem with TDatabase using copy() / Past()

... This is unnecessary and superfluous. Your code: oCust:Lock()IF lFields = .T. // using selected fields    oCust:Paste(aVals)ELSE    oCust:Paste()  // Paste( aVals )ENDIFoCust:SAVE()oCust:Commit()oCust:UnLock()  ...
by nageswaragunupudi
Thu Jan 31, 2019 2:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with TDatabase using copy() / Past() ?
Replies: 7
Views: 1178

A problem with TDatabase using copy() / Past() ?

Hello, I noticed a problem using tDatabase Copy() / Paste( aVals ) Wihout selected fields, record 9 is copied to 10 http://www.pflegeplus.com/IMAGES/Network13.jpg METHOD Copy() METHOD Paste( aVals ) using Paste() without aVals works adding ...
by ukoenig
Thu Jan 31, 2019 12:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with TDatabase using copy() / Past() ?
Replies: 7
Views: 1178

TDatabase FWH 17.08 : Datas and Methods

... cFile, cTag ) Adds new index file. Use with NTX files 7. AnsiToOem() Internal Internally used when ::lOemToAnsi is .T. 8. Append( [aFlds], [aVals] ) --> lSuccess Usage 1: Append() without parameters: Appends a blank record and returns success This usage is consistent with all previous ...
by nageswaragunupudi
Fri Sep 15, 2017 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase FWH 17.08 : Datas and Methods
Replies: 1
Views: 1785

New FTDN July 2017 (FWH 17.07)

... for edit/save Note: RecordObject is TDataRow object - Edit( [cFieldList], [lNew] ) --> Edit Dialog for editing/saving a record - Update( aFlds, aVals ) --> lSuccess Modifies an existing record, writing aVals to corresponding aFlds Alternative Syntaxes: Update( cFieldList, aVals ) --> lSuccess ...
by Antonio Linares
Sun Aug 13, 2017 8:19 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN July 2017 (FWH 17.07)
Replies: 5
Views: 2924

TDatabase class WIKI

... for edit/save Note: RecordObject is TDataRow object - Edit( [cFieldList], [lNew] ) --> Edit Dialog for editing/saving a record - Update( aFlds, aVals ) --> lSuccess Modifies an existing record, writing aVals to corresponding aFlds Alternative Syntaxes: Update( cFieldList, aVals ) --> lSuccess ...
by nageswaragunupudi
Wed Aug 02, 2017 7:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase class WIKI
Replies: 4
Views: 749

Re: Problem with TDataRow and number

... have any suggestions? What about lEq := ( cValToChar( x ) == cValToChar( y ) ) ? with ADO this generates an error in ::SaveADO oRs:Update( aCols, aVals ) I do not understand why this should give an error? In the worst case a field us updated with the same value and this should not raise an error. ...
by nageswaragunupudi
Tue Oct 04, 2016 8:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with TDataRow and number
Replies: 7
Views: 1435

Problem with TDataRow and number

... y ) sometimes return .f. even if the numbers are equal and Modified() return .t. with ADO this generates an error in ::SaveADO oRs:Update( aCols, aVals ) Regards Maurizio
by Maurizio
Tue Oct 04, 2016 7:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with TDataRow and number
Replies: 7
Views: 1435

FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )

... ) METHOD UploadFromAlias( cTable, cSrcFieldList, cDstFieldList, [lUpdateIgnore] ) METHOD ValToSQL( uVal ) METHOD FieldsAndValsToSQL( aFields, aVals, lWhere ) METHOD Close() or End() Important Methods Explained: MEHOD CreateTable(cTable, aStruct, [lAddAutoInc], [char-set] ) --> lSuccess ...
by nageswaragunupudi
Fri Jul 01, 2016 9:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )
Replies: 76
Views: 28465

Re: ADO RDD xHarbour

lucasdebeltran wrote:Antonio,

It´s with MySQL.

At ADO_APPEND, i checked aVals and date fields very empty.

Are you testing with Access or MySQL?.

With ACCESS Works fine.


This might be due to not nullable fields defined in MySql table structure.
by AHF
Sat May 23, 2015 7:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447025

Re: ADO RDD xHarbour

Antonio,

It´s with MySQL.

At ADO_APPEND, i checked aVals and date fields very empty.

Are you testing with Access or MySQL?.

With ACCESS Works fine.
by lucasdebeltran
Fri May 22, 2015 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447025

Re: ADO RDD xHarbour

Lucas,

Another bug in ADO_APPEND() and MySQL.

Dates are not saved into aVals, so oRs:AddNew( aCols, aVals ) fails.

Also maybe a problem with empty dates?.


Here working ok.

Code: Select all  Expand view

append blank
replace datefield with date()
 


Can you post a example?
by AHF
Fri May 22, 2015 6:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447025
Next

Return to advanced search