Search found 16 matches: loemansi

Return to advanced search

Re: not ISOEM(), ISANSI() or IsUTF8()

... FWH XBrowse. Please do not spend time in writing your own functions. Save time for other things. What all required is just set this flag oBrw:lOemAnsi := .t. Please try this one line code to view the table: XBROWSER "OEM_LIST.DBF" FASTEDIT SETUP ( oBrw:lOemAnsi := .t. ) We ...
by nageswaragunupudi
Sun Sep 03, 2023 7:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: not ISOEM(), ISANSI() or IsUTF8()
Replies: 34
Views: 4272

Re: not ISOEM(), ISANSI() or IsUTF8()

... like :ToExcel() or DbfToExcel() do not require the user to convert data into utf8. What all the work a programmer needs to do is to set oBrw:lOemAnsi := .t. or oCol:lOemAnsi := .t. for the required columns and then export to Excel. All conversions will be automatically taken care by the FWH ...
by nageswaragunupudi
Sat Sep 02, 2023 3:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: not ISOEM(), ISANSI() or IsUTF8()
Replies: 34
Views: 4272

Re: not ISOEM(), ISANSI() or IsUTF8()

... https://imagizer.imageshack.com/v2/xq70/924/bgfpPN.png Now XBrowse also can display OEM data by converting to ANSI, if we set oBrw:lOemAnsi := .t.. If we want this conversion only for some columns but not all, we can set oCol:lOemAnsi := .t. for the required columns instead of setting ...
by nageswaragunupudi
Tue Aug 29, 2023 1:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: not ISOEM(), ISANSI() or IsUTF8()
Replies: 34
Views: 4272

Re: XBROWSE NO Actualiza Campos Modificados

... ;    PICTURES '@!' , '@!', '@!' ;    ID 609 OF oDlg1;    FONT oFont1;    FOOTERS LINES CELL oBrw:lOemAnsi := .T.oBrw:nEditTypes := EDIT_GET  Do not use FIELDS clause. Use COLUMNS clause. Use oBrw:lOemAnsi or oCol:lOemAnsi Now you can inline-edit ...
by nageswaragunupudi
Sun Nov 04, 2018 7:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE NO Actualiza Campos Modificados
Replies: 8
Views: 2126

TDatabase FWH 17.08 : Datas and Methods

... are read into ::aBuffer array whenever row is moved or modified. If .f., ::aBuffer is not used and fields are directly assessed and written. 19. lOemAnsi ( Type: "L" Default: .F. ): If .T., charactger values are converted using OemToAnsi() and AnsiToOem() while reading and saving. 20. ...
by nageswaragunupudi
Fri Sep 15, 2017 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase FWH 17.08 : Datas and Methods
Replies: 1
Views: 1851

New FTDN March/Marzo 2013 (FWH 13.03)

... * Price", ... work exactly the same way for different datasources. This enables use of the same code for different datasources. - New Data lOemAnsi for Column Objects also. lOemAnsi can be turned on/off for individual columns or for the entire browse dynamically. - Enhancement: Pressing ...
by Antonio Linares
Thu Mar 28, 2013 11:33 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2013 (FWH 13.03)
Replies: 0
Views: 2668

Re: Clase TDb o TDatabase....cual usar?

... aBuffer DATA bBoF, bEoF, bNetError AS CODEBLOCK DATA cAlias, cFile, cDriver AS String INIT "" DATA lReadOnly AS LOGICAL INIT .f. DATA lOemAnsi DATA lTenChars AS LOGICAL INIT .t. DATA aFldNames AS Array DATA oBookMark AS OBJECT DATA lBlank AS LOGICAL INIT .f. METHOD New( cAlias ) CONSTRUCTOR ...
by Compuin
Thu Feb 28, 2013 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TDb o TDatabase....cual usar?
Replies: 10
Views: 2971

New FTDN August/Agosto 2010 (FWH 10.8)

... the columns are rearranged by the user. Accessing column data returns an array of values. Example: aHeaders := oBrw:cHeaders * xbrowse: New DATA lOemAnsi ( default .f. ): When set to .t., SetRDD method builds bEditValue codeblock for the fields converting from OemToAnsi() and AnsiToOem(). If ...
by Antonio Linares
Tue Aug 31, 2010 9:27 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2010 (FWH 10.8)
Replies: 3
Views: 3814

Re: AnsiToOem()

David,

A nivel de RDD de Harbour no hay ningun SET o parecido (que sepamos), pero a nivel de FWH si usas la Clase TDataBase tienes el dato lOemAnsi que automaticamente hace las conversiones:

oDataBase:lOemAnsi = lOnOff
by Antonio Linares
Sat Mar 07, 2009 3:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AnsiToOem()
Replies: 2
Views: 438

Re: ADOBASE, Nueva clase para manipular RECORDSET de ADO

... Load() CLASS TAdoBase local n:=0 //::aBuffer := Array( ::nFields ) for n = 1 to ::nFields ::aBuffer[ n ] := ::AdoGetValue( n - 1 ) next if ::lOemAnsi ::OemToAnsi() endif return nil /* ******************** */ METHOD SetBuffer( lOnOff ) CLASS TAdoBase DEFAULT lOnOff := .t. if lOnOff != nil ...
by FiveWiDi
Fri Apr 11, 2008 8:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADOBASE, Nueva clase para manipular RECORDSET de ADO
Replies: 55
Views: 16027

How to show OemToAnsi in xBrw. (when no Col's defined) ?

... ;(oBrw6:nArrayAt))),nMaxWidth)} :nEditType := EDIT_GET :bOnPostEdit:= {|oCol,xValue,nLastKey|OnEdit(obrw6,oCol,xValue, ; nLastKey, lOemAnsi ), oDlg:Update() } END AEval( oBrw6:aCols, { |oCol, nCol| oCol:cHeader := ; { "FieldName", "Typ", "Len", "Dec","Value" }[ nCol ] } ) oBrw6:aCols[ ...
by ukoenig
Sun Feb 17, 2008 1:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to show OemToAnsi in xBrw. (when no Col's defined) ?
Replies: 0
Views: 516

Create a Excel-Sheet of any DBF-File with AutoOle (Update)

... of the new DB-Tool you will find in the forum in a short time It is possible to create a formated Excel-Sheet of any DBF-File. With the parameter lOemAnsi = .T. you can convert the DBF to Ansi The needed cellwidth is calculated. The Excel-Sheet can work with 4 Windows Its quick and easy to handle. ...
by ukoenig
Mon Feb 04, 2008 7:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Excel-Sheet of any DBF-File with AutoOle (Update)
Replies: 4
Views: 1816

Refresh vars in Office2007-Bar from MDI-Child ? => solved

... oSUCH, aSCOPE, oINDKEY LOCAL oOemAnsi, lClrFlag :=.f. LOCAL nSCOPE := 1 LOCAL cFilter := SPACE( 70 ) LOCAL cFELD := "", l_INDEX := .F. LOCAL lOemAnsi := .T., cOemAnsi := "" LOCAL cFile1 := GET_DBF2() LOCAL DBFTYP := CabDbf (cFile1) LOCAL cEXPORT := "EXPORT.DBF " // ---------------------------------------- ...
by ukoenig
Fri Feb 01, 2008 6:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refresh vars in Office2007-Bar from MDI-Child ? => solved
Replies: 3
Views: 973

Problem with xBrowse in MDI-Childs

... RESOURCE "BROWSER" OF oDlg PIXEL cFile1 := GET_DBF2() // the selected Database DBFTYP := CabDbf (cFile1) // DBF-Header-Info CDX or NTX IF lOemAnsi = .T. // wants to open a Oem or Ansi - Database cOemAnsi := "ANSI" ELSE cOemAnsi := "OEM" ENDIF IF DBFTYP = "CDX" RDDSETDEFAULT( "DBFCDX" ) ...
by ukoenig
Tue Jan 29, 2008 8:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with xBrowse in MDI-Childs
Replies: 3
Views: 1189

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

... := .t. // ---------------------------------------------- // ---------------------- NEW ----------------------- oBrw5:lOemToAnsi := lOemAnsi // Var for Oem / Ansi .T. or .F. // --------------------------------------------- // --------------------------------------------- oBrw5:SetRDD() ...
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: 717
Next

Return to advanced search