Solved

Writing unbound colum to text field from list box

Posted on 2008-06-20
6
202 Views
Last Modified: 2011-10-03
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
0
Comment
Question by:karen2662
  • 3
  • 3
6 Comments
 
LVL 4

Expert Comment

by:Tirocupidus
ID: 21833123
I think you can just set the control source of your listbox to your "book" field.
0
 

Author Comment

by:karen2662
ID: 21833196
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)
0
 
LVL 4

Expert Comment

by:Tirocupidus
ID: 21833867
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.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:karen2662
ID: 21834693
yes I have it set correctly but it still writes the ID value in the book field.
0
 
LVL 4

Expert Comment

by:Tirocupidus
ID: 21836118
Could you possibly attach the database or a sample of it so I can take a look?
0
 

Accepted Solution

by:
karen2662 earned 0 total points
ID: 21886833
I changed the design of the database.
Thanks for your help.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Trying to open a report with a filter 2 17
How hide #Error in a form field 2 12
subform does update on ms/access 2 16
Query 13 0
This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now