Link to home
Start Free TrialLog in
Avatar of karen2662
karen2662

asked on

Writing unbound colum to text field from list box

I have a form with  a list box with 3 columns
1 ID
2 bookid
3 title
The form control source is catalog
The list box control source is query from another table called library.
When user selects bookid (column2)
I want to write column 2 value to field book to table catalog.
I have my list box as 3 column count and bound column 2 .

Thanks
Avatar of Tirocupidus
Tirocupidus

I think you can just set the control source of your listbox to your "book" field.
Avatar of karen2662

ASKER

sorry I missed type the data is from a query the control source is the book field.
the problem is it writes from the id  column  instead of column 2. ( it writes the id instead of the bookid)
Well, if you have the listbox control source set to your book field, and your bound column is the bookid column, it should work fine. I would just make sure you have your columns in the order you think they are, and you are binding to the correct column.
yes I have it set correctly but it still writes the ID value in the book field.
Could you possibly attach the database or a sample of it so I can take a look?
ASKER CERTIFIED SOLUTION
Avatar of karen2662
karen2662

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial