Search found 24 matches: ndatatype

Searched query: ndatatype

by Antonio Linares
Fri Jan 17, 2025 10:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Using new Class TDeepSeek for documenting

... hash).

7. **`uOrgData`**
- **Type**: Variant
- **Description**: Stores the original data source before any filtering or modification.

8. **`nDataType`**
- **Type**: Numeric
- **Description**: Indicates the type of data source (e.g., array, hash).

9. **`cField`**
- **Type**: Character ...
by Silvio.Falconi
Tue Jun 25, 2019 11:51 am
Forum: FiveWin for Harbour/xHarbour
Topic: Strange Error ORDBAGNAME with fwh 19.05
Replies: 2
Views: 569

Re: Strange Error ORDBAGNAME with fwh 19.05

Perhaps I found the error

::oLbx:nDataType := 1 // array

I rem it and now I see the dialog only now give me another error

not found the fields of oEsercizi and I cannot Make the report

when I call the fields array use this command

RptAddColumn( {bTitulo(::aTitulos,i)},,{bCampo(::aCampos,i ...
by nageswaragunupudi
Tue Sep 25, 2018 11:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse multi selects (resolvido)
Replies: 7
Views: 2234

Re: xBrowse multi selects (resolvido)

oBrw:nDataType := 64

This is wrong.
Correct nDataType is DATATYPE_ODBF (16)

XBrowse automatically decides the correct datatype, when you create the browse based on the type of DATASOURCE.
Not only that you do not have to assign the value yourself, but it is also highly undesirable as in the above ...
by albeiroval
Thu Jun 30, 2016 10:43 pm
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse edicion de columna memo con array
Replies: 3
Views: 661

xBrowse edicion de columna memo con array

Buen dia,

Como podria hacer una edicion de una columna tipo memo usando nDataType = EDIT_GET en un xbrowse
usando como DATASOURCE un ARRAY ?
by nageswaragunupudi
Mon Jul 01, 2013 12:31 pm
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse, bSeek y lAutoOrder
Replies: 3
Views: 1578

Re: xBrowse, bSeek y lAutoOrder

... it is always safe to be explicit and not to rely on defaults.

After reviewing the xBrowse class, another alternative is to define the DATA :nDataType :=DATATYPE_RDD.

This may work. But still I advise you to go the recommended way.

I know the command syntax is easy, fast and powerful. But I ...
by Biel EA6DD
Mon Jul 01, 2013 9:23 am
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse, bSeek y lAutoOrder
Replies: 3
Views: 1578

Re: xBrowse, bSeek y lAutoOrder

... can change the codeblocks, and Initiate will not run again SetRdd.

After reviewing the xBrowse class, another alternative is to define the DATA :nDataType :=DATATYPE_RDD.

I know the command syntax is easy, fast and powerful. But I feel confortable woorking at object level, gives me more control of ...
by Franklin Demont
Mon Jun 24, 2013 9:27 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE FWH1305 : error in SetColFromRDD
Replies: 3
Views: 696

Re: XBROWSE FWH1305 : error in SetColFromRDD

Please modify the line as:
if oCol:cDataType != nil .and. oCol:cDataType $ "+="

Fixed for the next release.


With this solution oCol:cDatatype remains nil , maybe :

if Empty( oCol:bEditValue )
..... // :ndatatype assigned
ELSE
oCol:cDataType := ValType( EVAL(oCol:bEditValue) )
ENDIF

Frank
by Rimantas
Thu Mar 07, 2013 5:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: TDolphin - linking problems ...
Replies: 9
Views: 2190

Re: TDolphin - linking problems ...

... 41;   Called from: engel.prg => RUN_PRG( 446 ) 

283 line ( copied from sources Setdolphin() function into own ) oBrw:nDataType := DATATYPE_USER

Mine source :
FUNCTION uzsak( cUzsak )local oWnd, oBrw, oQry, oCollocal aDgr, aCol, aHdr, aWndlocal cFld, cSql ...
by Eoeo
Wed Aug 15, 2012 8:09 am
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : How change an value on an array
Replies: 21
Views: 7531

To Nages : How change an value on an array

... 1]:cHeader := i18n("Giorni")
oLbx:nColDividerStyle := LINESTYLE_LIGHTGRAY
oLbx:lColDividerComplete := .t.
oLbx:lRecordSelector := .f.
oLbx:nDataType := 1 // array
oLbx:nStretchCol := -1




FOR i := 2 TO LEN(oLbx:aCols)
oCol := oLbx:aCols[ i ]
oCol:nWidth := 30
oCol:cHeader := alltrim(str ...
by Antonio Linares
Tue Feb 14, 2012 8:23 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Buildmenu on MdiChild causes error when child is Maximized
Replies: 8
Views: 2669

Re: Buildmenu on MdiChild causes error when child is Maximized

Rick,

Please try these possibilities after you close the recordSet:

a) oXBrowse:nDataType := 0

b) oXBrowse:bKeyCount := { || 0 }
by Compuin
Fri Feb 10, 2012 7:18 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas TDolphin
Replies: 7
Views: 1242

Re: Problemas TDolphin

Comentando esta linea tambien me funciona pero no muestra el Browse

// oBrw:nDataType := DATATYPE_USER
by elmoiquique
Mon Jul 12, 2010 2:19 pm
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, LEER FILAS
Replies: 5
Views: 934

XBROWSE, LEER FILAS

... REDEFINE XBROWSE olbx ID 101 OF oDlg;
ON DBLCLICK(getnab(.f.,oDbf4,oDlg,olbx,olbx:acols[1]))


olbx:l2007:=.t.
* tipo array
olbx:nDataType:=1
olbx:setarray( acnab, .t. )
olbx:ofont:=ofont
olbx:acols[1]:cheader:=oemtoansi("Codigo")
olbx:acols[1]:nHeadstralign:=AL_LEFT
olbx:acols ...
by Antonio Linares
Sun Dec 27, 2009 9:39 am
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2009 (9.12)
Replies: 0
Views: 2933

New FTDN December/Diciembre 2009 (9.12)

... Fixed.

* New: Xbrowse.ch. New constant DATAYPE_USER. If user defines xbrowse for any data source not one of the pre-defined datatypes, oBrw:nDataType should be specified as DATATYPE_USER.

* Fix: Class TXBrowse Method Initiate: Initiate method was resetting the colors already set by user. Now ...
by Antonio Linares
Thu Oct 15, 2009 5:16 am
Forum: FiveWin para Harbour/xHarbour
Topic: error mysql y xbrowse ??
Replies: 3
Views: 812

Re: error mysql y xbrowse ??

Mauricio,

Esta es nuestra propuesta:
viewtopic.php?p=88423#p88423

Ahora habria que modificar tu código para que verifique este valor en oBrw:nDataType
by wmormar
Tue Oct 13, 2009 2:07 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Posible bug en xbrowse
Replies: 13
Views: 4070

Re: Posible bug en xbrowse

... darse el error con ADO de igual manera.

He colocado lo siguiente en mi definición. Bien podría ser la forma de detectar que es tmysql.

DATA nDataType; // Data type to be used: 0->rdd, 1->array, ... (more to come)
AS NUMERIC // If navigation codeblocks are not specified then get automatically ...