VIRTUAL GRID DATABASE FUNCTIONS

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2096
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

VIRTUAL GRID DATABASE FUNCTIONS

Post by AUGE_OHR »

hi,

in c:\hmg.3.4.4\SOURCE\h_grid.prg i found
VIRTUAL GRID DATABASE FUNCTIONS
it have a lot of DB* "Navigation" Code so that might be the Secret of GRID to handle DBF

Code: Select all

Function GridRecCount( index )
Function GetGridFieldName ( index , nField )
Function IsDataGridMemo ( index , nField )
Function IsDataGridDeleted ( index , nRecno )
function SetDataGridRecNo ( index , nRecNo  )
function GetDataGridRecno( index )
Function DataGridDelete ( index )
Function DataGridRecall ( index )
Function IsDataGridFiltered ( index )
Function SaveDataGridField ( index , Value )
Function DataGridAppend( index )
Function DataGridSave(index)
Function IsBufferedRecordMarkedForDeletion( index , nPhysicalRow )
Function DataGridRefresh( index , lPreserveSelection )
Function DataGridClearBuffer(index)
Procedure GetDataGridCellData ( index , lTrueData )
Function GetFiledData ( index, nField )   // ADD May 2016
Function GridSetPhysicalRecord( index, nLogicalRecno )   // ADD May 2016
some of them are found in
c:\hmg.3.4.4\SOURCE\h_controlmisc.prg

other in c:\hmg.3.4.4\SOURCE\h_windows.prg like

Code: Select all

DataGridDelete(i)
DataGridAppend()
DataGridReCall(i)
DataGridSave(i)
DataGridClearBuffer(i)
which seems to work with Hotkey ALT + Key

but as i don't found anything in Manuel or Sample i don't know how to enable "VIRTUAL GRID DATABASE FUNCTIONS" for GRID

can someone enlighten me :idea:
have fun
Jimmy
Post Reply