Search found 103 matches: datatype

Return to advanced search

... evaluate to a character value only and that will remain like that in future also. It is intentional that if the codeblock evaluates to any other datatype, it results in a runtime error, pointing out the programming mistake. This is so with all the browses. It is only xbrowse that gives the flexibility ...
by Antonio Linares
Sat Jul 05, 2008 10:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser - maybe an error
Replies: 5
Views: 1164

Quique,

ok, the problem that we find in your code is this line:

local lMatriz := ::nDataType in { DATATYPE_ARRAY, DATATYPE_HASH }

it is not supported by Harbour :-( so we need to find a way to make it compatible

Have you tested your proposed changes with Harbour too ? thanks,
by Antonio Linares
Fri Jun 20, 2008 9:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Upstable
Replies: 11
Views: 2130

Marco, To start with the row should contain at least one row. XBrowse uses this row to examine and store information about datatype, default picture, default alignment, etc. Then from the ON INIT clause of the Dialog or Window, resize the array to 0. Example: aNames:={} ...
by Antonio Linares
Tue Jun 10, 2008 6:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse and empty array
Replies: 4
Views: 888

... oCol := oBrw:AddCol() oCol:nArrayCol := 3 // no need to write oCol:bStrData := { || cValToStr( aData[oBrw:nArrayAt][3]( } // the value can be any datatype, we do not need to convert to char value oCol:cSortOrder := 3 // automatically sorts on 3rd column
by nageswaragunupudi
Sat Apr 12, 2008 5:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to make new Sort by click on header?
Replies: 5
Views: 1175

... 2, 5 ; HEADERS "First", "Second", "Third" ; OF oWnd ; ARRAY aData is enough. Even the array elements can be of any datatype, xbrowse handles the necessary conversions. If we still want to use the traditional tcbrowse command syntax, that is also possible to add columns ...
by nageswaragunupudi
Fri Mar 28, 2008 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: About oBrw:AddColumn
Replies: 20
Views: 3354

New FTDN March / Marzo 2008 (8.03)

... method may be called with the array containing atleast one dummy row. This dummy row enables the browse object to assign columns with proper datatypes and widths. After oBrw:CreateFromCode(), add the two lines ASize( aData, 0 ), oBrw:Keycount(). * TXBrwColumn enhancements: a) New DATA nArrayCol. ...
by Antonio Linares
Wed Mar 12, 2008 7:27 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN March / Marzo 2008 (8.03)
Replies: 6
Views: 4952

Some changes in xBrowse, to read, edit a. write OemToAnsi

Hello from Germany With all extern Browsers i know, DBAdmin, DBView and so on it is possible to switch between ANSI and OEM With some small changes in the xBrowse-Class you can do the same. It is possible, to read, edit und write in OemToAnsi-Style. with xBrowse Sample : oBrw5 := TXBrowse():New( oDl...
by ukoenig
Mon Jan 28, 2008 8:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Some changes in xBrowse, to read, edit a. write OemToAnsi
Replies: 0
Views: 708

DLL32 problem

... docs, in the explanation for DLL32 it does not list LPLONG as a data type, though it does list LPSTR. Insofar as this seems to be a common C datatype, can LPLONG be added as a valid data type used in a C function that is included in a DLL? Specifically, I'm getting this error with the Protection ...
by Roger Seiler
Fri Jan 25, 2008 4:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 problem
Replies: 8
Views: 1867

Gracias Manuel, finalmente pude hacer la conexión a Oracle vía ADO, tengo una pregunta que hacerte, has usado en tus querys en la clausula WHERE capos tipo fecha? y si es el caso, te funcionan bien, a mi no? Mario, Aquí estamos aprendiendo a "porrazos" y con la ayuda de todos. Por eso sería bueno n...
by MarioDava
Thu Jan 10, 2008 2:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Oracle con ADO
Replies: 21
Views: 7020

xbrowse - data nDataType

In the constructor method ( New ) of xbrowse, nDataType is assigned a value of DATATYPE_RDD. Even the methods SetArray or SetADO do not change the nDataType. Therefore the nDataType always remains to be DATATYPE_RDD. The Initiate method of xBrowse executes SetRDD, because nDataType is DATATYPE_RDD, ...
by nageswaragunupudi
Sun Dec 30, 2007 8:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse - data nDataType
Replies: 1
Views: 1274

Share add on method report to xbrowse

METHOD Report( cTitle, lPreview, aHeaders, aFooters, cCaption,lModal ) CLASS TXBrowse Local oRpt ,nCols := Len( ::acols ), oldbskip:=::bskip local odevice,cmsg:={"Print","Date","time","Page"} oDevice := TPrinter():New(cmsg[1],.t.) if odevice:hdc==0; odevice:end(); return .f.; end odevice:end() Defau...
by ShumingWang
Fri Dec 07, 2007 5:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Share add on method report to xbrowse
Replies: 0
Views: 654

oRpt:bSkip := { || oRpt:Cargo := ::rptSKIP( ) } Method Rptskip() class Txbrowse local n1,n1old n1old:=::skip(1) n1:=n1old IF len(::aSelected)>0 While AScan( ::aSelected, If( ::nDatatype==DATATYPE_ARRAY,::nArrayAt,eval(::bKeyno)))==0 n1+=::skip(1) if ::nDATATYPE<>DATATYPE_ARRAY if eval(::bKe...
by ShumingWang
Wed Apr 11, 2007 3:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse multiselect
Replies: 3
Views: 1148

METHOD SetMySQL(oQuery) METHOD Report( cTitle, lPreview, aheaders,afooters,oFont, nLang, cCaption, lModal ) METHOD RPTSKIP() METHOD NTOTAL() METHOD SAVE() METHOD end() INLINE ::Destroy() METHOD SetMySQL(oquery,ledit) CLASS TXBrowse ::nMarqueeStyle := MARQSTYLE_HIGHLCELL ::nColDividerStyle := LINESTY...
by ShumingWang
Wed Oct 11, 2006 4:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Txbrowse Database handle
Replies: 6
Views: 2315
Previous

Return to advanced search