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"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.