Search found 141 matches: fieldput

Return to advanced search

Re: RAO advice on using Mysql

... KeyNo() GoTop(),GoBottom(),GoTo(nRec),KeyGoTo(nKey),Skip(n) FCount(),FieldPos(c),FieldName(),FieldLen(),FieldDec(),FieldType() FieldGet(),FieldPut() SetOrder(cSort,,lDescend) Save() Close() or End() --------------- NOT SUPPORTED: Seek(), Filter(),Delete(),Append() The RecSet class is created ...
by nageswaragunupudi
Fri Feb 02, 2024 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 979

Re: Dialog or Form

... == "L" Determines the data type for a field in the DBF file ( in this case logical ) https://harbour.github.io/doc/clct3.html#fieldtype FieldPut( n, "on" $ hb_UrlDecode( hb_HGet( hPost, FieldName( n ) ) ) ) This is if "on" is in your Hash than this is .t. otherwise ...
by Otto
Fri Oct 28, 2022 8:32 am
 
Forum: mod_harbour
Topic: Dialog or Form
Replies: 23
Views: 4656

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: 955

Mr. Rao - Error using BIT type with TRecSet Class - Ado

... Error BASE/1070 Argument error: == Args: [ 1] = L .F. [ 2] = N 1 Stack Calls =========== Called from: .\source\classes\TRECSET.PRG => TRECSET:FIELDPUT( 596 ) Called from: .\source\classes\TRECSET.PRG => TRECSET:_MARRIED( 1286 ) Called from: source\Core\Ventas\test.prg => (b)TEST( 51 ...
by Compuin
Sun Aug 21, 2022 5:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao - Error using BIT type with TRecSet Class - Ado
Replies: 3
Views: 377

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 put data into ...
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: 481

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 put data into ...
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: 481

Re: Error in database.prg?

... Time from start: 0 hours 0 mins 7 secs Error occurred at: 15/02/2022, 13:56:09 Error description: Warning BASE/2001 Alias nÆo existe: TDATABASE:_FIELDPUT Args: [ 1] = N 7 [ 2] = C Stack Calls =========== Called from: source\rtl\tobject.prg => TDATABASE:ERROR( 0 ) Called from: DATABASE.PRG ...
by wartiaga
Tue Feb 15, 2022 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can you use a field named End with Class TDataBase ? yes!
Replies: 15
Views: 965

problemas al linkear

Hola. usando harbour y Fwh la ultima. Me arroja estos errores: [1]:iLink32.Exe -Gn -q -aa -Tpe -x @testMaria.bcl Error: Unresolved external 'WinMain' referenced from X:\HARB\BCC7\LIB\C0W32.OBJ Error: Unresolved external '_hb_vmProcessSymbols' referenced from X:\PROYECTOS\TEST\MARIA\OBJ\MARIA.OBJ Err...
by goosfancito
Thu Feb 04, 2021 9:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problemas al linkear
Replies: 6
Views: 442

Re: XBrowse: currently selected column position

... := EDIT_GET oCol:bOnPostEdit := {|o, v, n| iif( (n != VK_ESCAPE .AND. oBrw:nColSel >2), (dbselectarea("EQUIP"),DBRLOCK(), FieldPut( o:nCreationOrder-1, v ), DBRUNLOCK() ), ) } oCol:bLClickHeader := {|r,c,f,o| (DEXO(o:nCreationOrder),oBrw:refresh()) } NEXT
by Jack
Fri Oct 16, 2020 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: currently selected column position
Replies: 12
Views: 1256

Re: AYUDA no puedo actualizar datos en una tabla con TDolphin :(

Ariel wrote:Aida,

preguntonta, esta tabla tiene ID ? y el ID esta en el select ??

tambien podes probar :

oQry:FieldPut( "dias", Str(cTequedan) )
oQry:Save()

Saludos.




si gracias eso era lo que me faltaba :mrgreen:
by AIDA
Mon Jul 20, 2020 7:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: no puedo actualizar datos una tabla con TDolphin RESUELTO!
Replies: 2
Views: 373

Re: AYUDA no puedo actualizar datos en una tabla con TDolphin :(

Aida,

preguntonta, esta tabla tiene ID ? y el ID esta en el select ??

tambien podes probar :

oQry:FieldPut( "dias", Str(cTequedan) )
oQry:Save()

Saludos.
by Ariel
Mon Jul 20, 2020 7:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: no puedo actualizar datos una tabla con TDolphin RESUELTO!
Replies: 2
Views: 373

Re: FWMARIA FIELDPUT

Estimados FiveWiner's Tengo un inconveniente que se me presenta aleatoriamente con diferentes valores al grabar en MySql mediante Fieldput() cuando grabo valores numéricos mediante un producto o mediante una variable este valor grabado es diferente al producto calculado, en el ejemplo ...
by nageswaragunupudi
Thu Jun 25, 2020 2:46 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWMARIA FIELDPUT
Replies: 5
Views: 1013

Re: FWMARIA FIELDPUT

Intenta redondeando el resultado

Not necessary. The method FieldPut() rounds off the value to the number of decimal places specified for the field.
by nageswaragunupudi
Thu Jun 25, 2020 2:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWMARIA FIELDPUT
Replies: 5
Views: 1013

Re: FWMARIA FIELDPUT

Carlos,

Usa Procedimientos Almacenados, para grabar información, y así te olvidas, si trabajas con Ms-sql server, MySql, MariaDb y cualquier base de datos. :D :D
by jacgsoft
Wed Jun 24, 2020 8:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWMARIA FIELDPUT
Replies: 5
Views: 1013

Re: FWMARIA FIELDPUT

Armando No es problema de redondeo, porque la variable que contiene el resultado es de tipo double(12,2) deberia grabar sin inconveniente. Es un problema aleatorio que se me presenta de tiempo en tiempo con FWMARIA y que uso en otro sistema con TMYSQL y graba correctamente, en este ejemplo que tengo...
by cjcardoza
Sun Jun 21, 2020 12:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWMARIA FIELDPUT
Replies: 5
Views: 1013
Next

Return to advanced search