Search found 76 matches: lnew

Searched query: lnew

by Antonio Linares
Fri Jan 24, 2025 10:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4826

Re: Using new Class TDeepSeek for documenting


95. Edit( lNew, cFieldList, lSourceData, lNavigate, aInitVals, bSetup ) (Continued)

Return Value: OBJECT - Returns the TXBrowse object (Self).

Usage Example: (Used internally, calls either EditSource or EditBrowse based on parameters)

96. Delete( lMsg )

Description: Deletes the current record ...
by Antonio Linares
Fri Jan 24, 2025 10:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4826

Re: Using new Class TDeepSeek for documenting

... or Array) (internal method).

Parameters: None

Return Value: - Returns the data source object.

Usage Example: (Internal use only)

50. DataRow( lNew, cFieldList, lSourceData, aInitVals )

Description: Creates or edits a data row object (TXBrwRow).

Parameters:

lNew: LOGICAL - .T. to create a new ...
by Otto
Fri Jul 19, 2024 7:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help guide for my program.
Replies: 38
Views: 5252

Re: Need Help giide for my program

... function allows the user to link a deposit to an invoice by setting the `INVNUM` field.

```xbase
static function EditDeposit( oRec )
local lNew := ( oRec:RecNo == 0 )
local oDlg, oBrush, oFont, oBold, oLarge
local oBrw, cCol, bInit, oBtn
local aItems
local oGetClient, cClient, bCliInit ...
by Jimmy
Thu Nov 10, 2022 5:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: Child OF oWnd
Replies: 7
Views: 745

Re: Child OF oWnd

... 0}, {NWEIGHT, 0}, {NCHARSET, 0}, {NOUTPRECISION, 0}, {NCLIPPRECISION, 0}, {NQUALITY, 0}, {NPITCHFAMILY, 0}, {NCOUNT, 27}, {LDESTROY, .T.}, {LNEW, .F.}}} , ...
the 1st Sub-Array seems to be Control itself and have all Information of it include "Name" (CVARNAME)
but also "all other" Control ...
by Silvio.Falconi
Wed Aug 25, 2021 9:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Lookup method of Tdatabase
Replies: 44
Views: 5395

Re: Lookup method of Tdatabase

METHOD Record( cFieldList, lNew ) CLASS TReserva

where I found cFieldList or how I can set it ?


cFieldList is an optional parameter. If you provide a list of fields, the record object (TDataRow class) will have those fields only. For full understanding, you also read the class TDataRow.

I advise ...
by Silvio.Falconi
Sat Aug 21, 2021 11:01 am
Forum: FiveWin for Harbour/xHarbour
Topic: Lookup method of Tdatabase
Replies: 44
Views: 5395

Re: Lookup method of Tdatabase

METHOD Record( cFieldList, lNew ) CLASS TReserva

where I found cFieldList or how I can set it ?


cFieldList is an optional parameter. If you provide a list of fields, the record object (TDataRow class) will have those fields only. For full understanding, you also read the class TDataRow.

I advise ...
by nageswaragunupudi
Sat Aug 21, 2021 8:33 am
Forum: FiveWin for Harbour/xHarbour
Topic: Lookup method of Tdatabase
Replies: 44
Views: 5395

Re: Lookup method of Tdatabase

METHOD Record( cFieldList, lNew ) CLASS TReserva

where I found cFieldList or how I can set it ?


cFieldList is an optional parameter. If you provide a list of fields, the record object (TDataRow class) will have those fields only. For full understanding, you also read the class TDataRow.

I advise ...
by Silvio.Falconi
Fri Aug 20, 2021 8:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: Lookup method of Tdatabase
Replies: 44
Views: 5395

Re: Lookup method of Tdatabase

nageswaragunupudi wrote:

Code: Select all | Expand

oPrenotazioni := TReserva():New()
oPrenotazioni:Edit(.t.) // for add new
oPrenotazioni:Edit() // for the edit
 



Nages,
can you explain this ?
METHOD Record( cFieldList, lNew ) CLASS TReserva

where I found cFieldList or how I can set it ?
by Antonio Linares
Thu Jan 02, 2020 12:45 pm
Forum: WhatsNew / Novedades
Topic: New FTDN December 2019 (FWH 19.12)
Replies: 2
Views: 4613

Re: New FTDN December 2019 (FWH 19.12)

... fwh\samples\marialok.prg para bloquear registros mientras
editamos.
viewtopic.php?f=3&t=37928

* FWMariaRowSet METHOD EditBaseRecord( cFieldList, lNew, bEdit, oBrw, lLock )
Si lLock está configurado en .T. o se especifica un bloque de código, el registro se bloquea
durante la lectura y, si no se ...
by Antonio Linares
Sat Dec 21, 2019 5:59 pm
Forum: WhatsNew / Novedades
Topic: New FTDN December 2019 (FWH 19.12)
Replies: 2
Views: 4613

New FTDN December 2019 (FWH 19.12)

... locking records while
editing.
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=37928

* FWMariaRowSet METHOD EditBaseRecord( cFieldList, lNew, bEdit, oBrw, lLock )
If lLock is set to .t. or a codeblock is specified, the record is locked while
reading and on failure to read, the ...
by Horizon
Wed Sep 25, 2019 12:32 pm
Forum: FiveWin for Harbour/xHarbour
Topic: clarification respect a recordset
Replies: 14
Views: 4049

Re: clarification respect a recordset

... Enhancement to method EditBaseRecord(...)
Added optional new 5th param, lLock (default .f.)
Revised syntax:
EditBaseRecord( [cFieldList], [lNew], [bEdit], [oBrw], [lLock] )
If lLock is set to true, the row is locked for edit and lock is released
after edit.


Hi Mr. Rao,

I use FWH 19.03 ...
by nageswaragunupudi
Tue Sep 03, 2019 8:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: clarification respect a recordset
Replies: 14
Views: 4049

Re: clarification respect a recordset

... Enhancement to method EditBaseRecord(...)
Added optional new 5th param, lLock (default .f.)
Revised syntax:
EditBaseRecord( [cFieldList], [lNew], [bEdit], [oBrw], [lLock] )
If lLock is set to true, the row is locked for edit and lock is released
after edit.
by Silvio.Falconi
Fri Jun 21, 2019 9:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: Converting sample test of Tplan
Replies: 26
Views: 3368

Re: Converting sample test of Tplan

Nages,
on METHOD BuildDialog( oPlan, dCheckIn, dCheckOut )

I made

IF lSave
if lNew
::oReserva:Append()
oRec:= ::oReserva:record(.t.)
else
::oReserva:Seek( oPlan:GetRowID() + DToS( dCheckIn ) )
oRec:= ::oReserva:record()
endif

oRec:DATE = Date()
oRec:ROOMS_ID = oPlan:GetRowID()
oRec ...
by Antonio Linares
Fri Jun 07, 2019 11:14 am
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2019 (FWH 19.05)
Replies: 4
Views: 5579

Re: New FTDN May/Mayo 2019 (FWH 19.05)

... Anteriormente, al tratar de usar filtros incrementales sin autoordenación daba errores de tiempo de ejecución.

- Mejora: En el método EditSource( lNew, cFieldList, aInitVals )
Nuevo parámetro aInitVals: Si se especifica, los valores no vacíos en la matriz se asignan previamente a los
campos ...
by Antonio Linares
Mon Jun 03, 2019 12:54 pm
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2019 (FWH 19.05)
Replies: 4
Views: 5579

New FTDN May/Mayo 2019 (FWH 19.05)

... lAutoSort is false.
Previously trying to use incremental filters without autosort was giving runtime
errors.

- Enhancement: method EditSource( lNew, cFieldList, aInitVals )
New parameter aInitVals: If specified, non-empty values in the array are
pre-assigned to the corresponding fields in ...