No column name in grid
rodrigue Timma <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAPn9dqP0rt1mDDbpdaE2R7k6uz69w17LvQP-vOk=B6quDQyZAw@mail.gmail.com> |
Good morning
i have a problem to show columns in my grid, no columns appear and this is
my .per
DATABASE or_db
LAYOUT
TABLE
{
code nom
[a0 ] [f000 ]
[a0 ] [f000 ]
[a0 ] [f000 ]
[a0 ] [f000 ]
[a0 ] [f000 ]
[a0 ] [f000 ]
[a0 ] [f000 ]
}
END
TABLES
state
ATTRIBUTES
a0 = state.code;
f000 = state.sname;
INSTRUCTIONS
DELIMITERS " "
SCREEN RECORD s_state[7](state.*)
and my .4gl code :
define p_state ARRAY[60] OF RECORD LIKE state.*
define idx int
DECLARE c_states CURSOR WITH HOLD FOR SELECT *
FROM state
LET idx = 1
FOREACH c_states INTO p_state[idx].*
LET idx = idx + 1
END FOREACH
CALL ui.Interface.loadToolbar("125")
OPEN WINDOW w_state AT 8,8
WITH FORM "state_list" ATTRIBUTE(border)
CALL set_count(idx)
DISPLAY ARRAY p_state TO s_state.*
LET idx = arr_curr()
As you can see in my attached document there are no column's name
Please help thks
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
Capture.PNG
(image/png, 9.3 KB) - not displayed