1st - The Following is the forms Init Event
****************************************************
** INIT
***************************************************
**** System Settings
set safety off
set century on
set confirm on
mDeAlias = "GridData"
tblDataBuffer = "C:\windows\temp\fpdata.dbf"
Select 0
use &tblDataBuffer Exclusive Alias &mDeAlias
ZAP
select &mDeAlias
index on control_no+sample_no+test_code tag cst_key
set order to tag cst_key
go top
thisform.grid1.recordsource = mDeAlias
thisform.caption='Data Corrections ['+mDeAlias+']'
****************************************************
** END INIT
***************************************************
At this point the form is displayed on the screen and the Grid is empty
All command buttons and other controls are on the form.
*************************************
Then
*************************************
A command button populates the grid by adding records to the "free" table defined above as &tblDataBuffer
*************************************
What happens?
*************************************
The form is refreshed and the grid displays the records.
************************************
The Problem
************************************
If the down arrow is pressed or the scroll bars are moved the controls (which are all command buttons) disappear if they are positioned under the grid.
(Grid is in the middle of the form, command buttons are above the grid and command buttons below the grid)
Only the command buttons below the grid disappear
What's up with this?
****************************************************
** INIT
***************************************************
**** System Settings
set safety off
set century on
set confirm on
mDeAlias = "GridData"
tblDataBuffer = "C:\windows\temp\fpdata.dbf"
Select 0
use &tblDataBuffer Exclusive Alias &mDeAlias
ZAP
select &mDeAlias
index on control_no+sample_no+test_code tag cst_key
set order to tag cst_key
go top
thisform.grid1.recordsource = mDeAlias
thisform.caption='Data Corrections ['+mDeAlias+']'
****************************************************
** END INIT
***************************************************
At this point the form is displayed on the screen and the Grid is empty
All command buttons and other controls are on the form.
*************************************
Then
*************************************
A command button populates the grid by adding records to the "free" table defined above as &tblDataBuffer
*************************************
What happens?
*************************************
The form is refreshed and the grid displays the records.
************************************
The Problem
************************************
If the down arrow is pressed or the scroll bars are moved the controls (which are all command buttons) disappear if they are positioned under the grid.
(Grid is in the middle of the form, command buttons are above the grid and command buttons below the grid)
Only the command buttons below the grid disappear
What's up with this?