I want to populate a combo box (menu) with a list of items returned from a database query. I can run the query OK, but how do I put the results into the
combo box menu? When I try using:

get revQueryDatabase(...)
put it into menu "RdNoMenu"

I just get one single number in there, not the 1000 or so records that would
have been returned by the select statement.

Hi Rishi,

Welcome to the Revolution!

revQueryDatabase() returns the ID number of a cursor - a set of records which you can then list, manipulate, edit etc. The easier solution is to use revDataFromQuery() which gives you back the actual record data.

Cheers,
Sarah

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to