May 2017 (revised build)
========
* Fix: MultiGet methods GetSel() and Copy() were not Unicode compatible.
Fixed
* FWMARIADB:
Recommended way to obtain connection to Server is to use command syntax
FWCONNECT oCn , which translates to maria_Connect(...)
Alternatively the function maria_Connect() also can be used.
Till now, mysql_Connect(..) also is availalbe which is an alias for
maria_Connect(). The alias name mysql_Connect() is now discontinued as
it is reported that this name is conflicting with some libraries.
We request any calls to mysql_Connect() may please be changed as
maria_Connect()
* Fix: samples\testdllp.prg was not properly working. Now it is ok.
testdllp.prg shows how to use pcode DLLs from our EXEs.
* samples\TransFree.prg
Other sample use function FW_TransLang from dialog
* TGET:
New DATA bColor
If specified, bColor will be evaluated with oGet as parameter.
The codeblock should return an array { nTextColor, nBackColor }
TGet uses these colors to display the Get superceding all other
color settings.
This can also be set by command:
@ r,c GET COLOR bColor
Example:
bColor := { |oGet|
If( oGet:lFocused, { CLR_HRED, CLR_YELLOW }, ;
If( !oGet:lActive, { CLR_BLACK, CLR_HGRAY }, ;
If( Empty( oGet:Value ), { CLR_BLACK, CLR_HGREEN }, ;
{ CLR_BLACK, CLR_WHITE } ) ) ) }
CLASSDATA bColorBlock
If specified, every Get's bColor defaults to this codeblock.
If bColor or bColorBlock are not assigned, the normal behavior
of the Gets continue.
* NEW: Support for PostGreSQL using hbpgsql of Harbour or pgsql of
xHarbour:
- XBROWSE and XBROWSER support oQuery object like any other datasources.
- Support AUTOCOLS or specified columns (Limitation: Does not yer support
expressions involving column names)
- AUTOSORT support
- Incremental Seek and wild seek
- Does not yet support Incremental filters
- Inline Editing supported.
- XBrowse method oBrw:Edit() can be used for editing records
- Append is not automtically supported but can be user implemented
- XBrowse recognizes DateTime values, even if the Query class does
not recognize them.
- XBrowse detects AutoInc (serial) column and flags the column as
readonly.
- Other utility functions:
- FWPG_ImportFromDBF( oCn, cDbf, cTable ) --> lSuccess
- FWPG_CreateTableSQL( cTable, aStruct ) --> cSql
- FWPG_AppendFromAlias( oCn, cTable )
- FWPG_Structure( oQry ) --> aStruct (enhanced )
This structure detects autoinc column and timestamp columns
- Source: \fwh\source\function\pgsuport.prg
↧