Search found 251 matches: fieldget

Return to advanced search

Re: xbrowse and detached variables Mr Rao please Help

Using fieldname macro, instead of FieldPut() and FieldGet() as in the sample you posted. #include 'fivewin.ch'function main()    local aKeys   := {'pichincha','internacio'}    local hBancos := { => ...
by nageswaragunupudi
Fri Aug 26, 2022 2:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse and detached variables Mr Rao please Help
Replies: 14
Views: 974

ayuda con FWMariadb y fastreport (Resuelto)

... {|| oCheques:GoTop() },; {|| oCheques:Skip(1) },; {|| oCheques:Skip(-1) },; {|| oCheques:EoF() },; {|nField| oCheques:FieldGet( nField ) }) MySqlFields( oCheques ) devuelve un array con los nombres de todas las columnas del recordset, ¿Cuál sería el equivalente en FWMariadb? ...
by jose_murugosa
Thu May 19, 2022 1:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con FWMariadb y fastreport (Resuelto)
Replies: 4
Views: 412

Re: Antonio - Retomo lo del tree podes ayudarme cn esto?

Gustavo,

No debería ser asi ?

nPosicion := AScan( ::aTree, { | xCelda | xCelda[ 2 ][ "nIdPadre" ] == oQry:FieldGet( "c5" ) } )

ó

nPosicion := AScan( ::aTree, { | xCelda | xCelda[ 2 ][ "nId" ] == oQry:FieldGet( "c4" ) } )
by Antonio Linares
Fri May 06, 2022 5:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio - Retomo lo del tree podes ayudarme cn esto?
Replies: 3
Views: 311

Re: How write a right name of a field

How to write a right name of a field Since you are already using a database object, instead of this: oDbf:FieldGet( cField ) oDbf:FieldPut( cField, <newvalue> ) You can just do: oDBF:ID oDBF:Name Where ID and NAME are fieldnames. Then you can do: msgInfo( oDBF:ID ) To ...
by Silvio.Falconi
Fri Apr 29, 2022 8:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How write a right name of a field
Replies: 6
Views: 488

Re: How write a right name of a field

How to write a right name of a field Since you are already using a database object, instead of this: oDbf:FieldGet( cField ) oDbf:FieldPut( cField, <newvalue> ) You can just do: oDBF:ID oDBF:Name Where ID and NAME are fieldnames. Then you can do: msgInfo( oDBF:ID ) To ...
by James Bott
Thu Apr 28, 2022 6:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How write a right name of a field
Replies: 6
Views: 488

Re: How write a right name of a field

I must only read it What do you mean? Did I not tell you oDbf:FieldGet( cField )? Is it not reading? Next, oDbf:&cField also works.   local cField   := "NAME"   oDbf  := TDataBase():Open( nil, "STATES.DBF", ...
by nageswaragunupudi
Thu Apr 28, 2022 3:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How write a right name of a field
Replies: 6
Views: 488

Re: New FTDN March/Marzo 2022 (FWH 22.03)

... a, @b ) --> oRs Ahora el parámetro out devuelve el valor en b. oRs:Requery( a, @b ) // El parámetro Out se devuelve en b * FWMariaRowSet: - FieldGet( nFldNo ): Se ha solucionado el error en tiempo de ejecución cuando nFldNo está fuera de rango. - Expresión del filtro:"<fld> like ...
by Antonio Linares
Mon Apr 11, 2022 4:11 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 626

New FTDN March/Marzo 2022 (FWH 22.03)

... oCn:ProcedureName( a, @b ) --> oRs Now out param returns value in b. oRs:Requery( a, @b ) // Out param is returned in b * FWMariaRowSet: - FieldGet( nFldNo ): Runtime error when nFldNo is out or range is fixed. - Filter expression :"<fld> like <exp>" works but not ...
by Antonio Linares
Sun Apr 10, 2022 7:02 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 626

Re: xbrowse command not working properly -- MR. RAO

In the XBrowse.prg, Line no:7371    DEFAULT oCol:bEditValue := { |x| If( x == nil, ::oMySql:FieldGet( cName ), ::oMySql:FieldPut( nCol, x ) ) }  Change this as: if ::oMySql:IsKindOf( "TMSQUERY" )   DEFAULT oCol:bEditValue ...
by Compuin
Wed Feb 23, 2022 5:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1406

Re: xbrowse command not working properly -- MR. RAO

Silly question , for xbrowse class, FieldGet is character or number? Same for FieldName data type?? Following DBF syntax, FileldGet method in the classes also is meant to be used with column number only. So, if we want to get the value of ...
by nageswaragunupudi
Wed Feb 23, 2022 5:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1406

Re: xbrowse command not working properly -- MR. RAO

... "NOMBRE" ;      LINES CELL           oBrw:CreateFromCode()  I fixed the problem on FieldPos(). Now I get this Called from E1FIELDGET(0) Called from TMSQUERY:FIELDGET(639) in source\prg\msquery.prg Called from MXCTAALM(26) in source\Mxctaalm.prg Called from (b)CLINICA32WIN(69) ...
by Compuin
Wed Feb 23, 2022 2:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1406

Re: xbrowse command not working properly -- MR. RAO

Does oTb:FieldGet( cFieldName ) work? Are you using FWH2012 ? If so, try making the following modifications to xbrowse.prg and include in your link script. Replace line 1297       elseif ! Empty( ::oMysql ) .AND. ::oMysql:IsKindOf( ...
by Compuin
Wed Feb 23, 2022 8:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1406

Re: xbrowse command not working properly -- MR. RAO

Does oTb:FieldGet( cFieldName ) work? Are you using FWH2012 ? If so, try making the following modifications to xbrowse.prg and include in your link script. Replace line 1297       elseif ! Empty( ::oMysql ) .AND. ::oMysql:IsKindOf( ...
by nageswaragunupudi
Wed Feb 23, 2022 7:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1406

Re: Harbour y MySQL - tildes y eñes

... 'select count(*) from ' + cTabla + ' where ' + cCMy + ' = "' + &cCDbf + '" limit 1' ) if oMyQue # nil nCmd := 0 if oMyQue:FieldGet( 1 ) = 0 // contó cero reg: clave no existe do case // Tablas... case cTabla = 'CLIENTES' nCmd := MySincClienteCrea() --> crear el registro ...
by José
Sat Dec 04, 2021 9:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Harbour y MySQL - tildes y eñes
Replies: 14
Views: 1674

mariadb xbrowse bstrData

... := AL_CENTER         :nDataStrAlign := AL_LEFT         :bStrData := ::nombreProducto( ::oQry:FieldGet( "C3" ) )      END WITH al recuperar ::oQry:fieldget("C3") no me trae el dato. que estoy fallando? ...
by goosfancito
Sun Nov 07, 2021 10:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: mariadb xbrowse bstrData
Replies: 1
Views: 229
PreviousNext

Return to advanced search