Thank you for you suggestions. Unfortunately there is still a (blank) grid display issue of some kind.
To recap:
1) The grid’s code in the .FMG is now more simplified (see below).
2) Verified: The .DBF is opened prior to “ACTIVATE WINDOW ” with GOTO TOP.
3) Verified: The .DBF is the work area’s current alias according to:
----Debugger
----Vertical (row) grid navigation occurs.
----Row navigation perfectly reflects the RECCOUNT().
----The ALIAS() is displayed by textbox “Text_1”
4) Page “Page 1” is NOT readonly because textbox “Text_1” displays the alias.
5) The HMG help file lists two grid control syntaxes, “Standard Syntax (xBase Style)” and “Alternate Syntax”. I am using “Alternate Syntax” with no semicolons at line’s end.
Code: Select all
DEFINE TAB pgf_ItemsStates AT 40 , 30 WIDTH 820 HEIGHT 430 VALUE 1 FONT "Arial" SIZE 9 TOOLTIP "" ON CHANGE Nil MULTILINE
PAGE "Page 1"
DEFINE GRID grd_Items
ROW 50
COL 40
WIDTH 740
HEIGHT 300
VALUE 1
WIDTHS { 150, 150 }
HEADERS { "Mfg. Name", "Type" }
ROWSOURCE "All_Items"
COLUMNFIELDS {"All_Items->MFG_NAME", "All_Items->TYPE"}
END GRID
DEFINE TEXTBOX Text_1
ROW 370
COL 50
WIDTH 230
HEIGHT 25
FONTNAME "Arial"
VALUE "Value: " +chr(34)+alias()+chr(34)+ " (is the ALIAS)"
END TEXTBOX
END PAGE
PAGE "Page 2"
END PAGE
END TAB
I am really grateful for all of your kind help. Once again, any further ideas would most appreciated.
Red2