Finally I got to install PostgreSql v8.3 succesfully.
With this version, I got connect an create a table named 'Test", and also insert and load all records in the table in a browse (not Grid) control.
But, nothing it´s perfect. Take a look to the Browse control....YES, it don´t has Vertical scrollbar.
When you set VScrollBar to .T. it happens this runtime error...
This error it´s related to this function in h_browse.prg:
Code: Select all
Procedure _BrowseVscrollUpdate (i)
*------------------------------------------------------------------------------*
Local ActualRecord , RecordCount , KeyCount
// If vertical scrollbar is used it must be updated
If _HMG_SYSDATA [ 5 ] [i] != 0
KeyCount := OrdKeyCount()
If KeyCount > 0
ActualRecord := OrdKeyNo()
RecordCount := KeyCount
Else
ActualRecord := RecNo()
RecordCount := RecCount()
EndIf
_HMG_SYSDATA [ 37 ] [i] := RecordCount
If RecordCount < 100
SetScrollRange (_HMG_SYSDATA [ 5 ] [i] , 2 , 1 , RecordCount , .t. )
SetScrollPos ( _HMG_SYSDATA [ 5 ] [i] , 2 , ActualRecord , .T. )
Else
SetScrollRange (_HMG_SYSDATA [ 5 ] [i] , 2 , 1 , 100 , .t. )
SetScrollPos ( _HMG_SYSDATA [ 5 ] [i] , 2 , Int ( ActualRecord * 100 / RecordCount ) , .T. )
EndIf
EndIf
Return
Did you get ?
Best regards,
Salamandra, Brazil