Text box instead of combobox

J

jeff klein

My frm_Orders record source is tbl_Orders.
On the frm_Orders I have a combobox that shows Item price - the combobox
control source is ItemID and the record source is SELECT DISTINCTROW
tbl_Items.ItemID, Item.Rate FROM tbl_Items. This shows the price of the item
in the orders form.

OK...what would be the way to show the same information in a text box
instead of the combobox?
 
M

Mike Painter

jeff said:
My frm_Orders record source is tbl_Orders.
On the frm_Orders I have a combobox that shows Item price - the
combobox control source is ItemID and the record source is SELECT
DISTINCTROW tbl_Items.ItemID, Item.Rate FROM tbl_Items. This shows
the price of the item in the orders form.

OK...what would be the way to show the same information in a text box
instead of the combobox?

Make the selection.
Loop through the records and create a string that would properly display in
the text box for that particular width (with scroll bars) and type size.
Plug it into the textbox.
Not difficult but time consuming.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top