Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can i use a dynamic combo box in the header of my report?

Status
Not open for further replies.

cpms

Programmer
Nov 22, 2005
1
PT
Hi,

I need some help.
How can i use a dynamic combo in the header of my report?
The idea is populate the combo using data from an hold file.
Can you help me?


Thanks in advance.
Cláudia.
 
Give you method follow:
1.Define a field like this
DEFINE FILE TABLENAME
FIELD1/A116='<option value=' || TABLEFIELD|| '>' || TABLEFIELD|| '</option>';
END
2.Hold your data
TABLE FILE TABLENAME
PRINT
FIELD1
ON TABLE HOLD AS SELITEM FORMAT ALPHA
END
3.OutPut On the Web
<SELECT name ="SEL" id="SEL">
!IBI.FIL.SELITEM ;
</SELECT>
4.Good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top