473,394 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Combo box in access project

MVM
I am creating a form in an Access project, using SQL Server as the backend.
The project is linked to two tables, Departments and FixedAssets. The form
I am working with is linked to FixedAssets. One of the combo boxes on this
form grabs the drop-down list from Departments, which contains two fields,
Department and Department Number. They select the Department Number for
this particular combo box. What I would like to do is display the
Department in a text box next to the combo box.
I was able to do this in a regular Access database by setting the control
source of the text box
=Combo1.Column(1). When I try the same code in the Access project I keep
getting a #Name? error in the text box. Any ideas?
Thanks for the help!
MVM
Nov 12 '05 #1
1 2749
you could use the combo box AfterUpdate event to set the value of the text
box, make sure the text box is unbound.

hth,
dingus
"MVM" <mu********@hotmail.com> wrote in
news:lQ****************@news01.roc.ny:
I am creating a form in an Access project, using SQL Server as the
backend. The project is linked to two tables, Departments and
FixedAssets. The form I am working with is linked to FixedAssets.
One of the combo boxes on this form grabs the drop-down list from
Departments, which contains two fields, Department and Department
Number. They select the Department Number for this particular combo
box. What I would like to do is display the Department in a text box
next to the combo box.
I was able to do this in a regular Access database by setting the
control
source of the text box
=Combo1.Column(1). When I try the same code in the Access project I
keep getting a #Name? error in the text box. Any ideas?
Thanks for the help!
MVM


Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Robert Neville | last post by:
The solution to my dilemma seems straight-forward, yet my mind has not been forthcoming with a direct route. My Project form has a tab control with multiple sub-forms; these distinct sub-forms...
5
by: Kevin | last post by:
So moving on in my project, I've replaced all of my "Lookup" fields with regular field types. Now I'm designing my combo boxes. I've used the combobox wizard to create a few, and have set the...
1
by: Bill | last post by:
Problem: Combo box data disappears from view when a requery is done See "Background" below for details on tables, forms & controls On a form, I want to use the setting of bound combo box C1...
0
by: annivanova | last post by:
Hi, I saw posts in Dependent listboxes on access forms, which problem is very similar to my. I’m working over to create an MS Access application. I used in my project given code : Code:...
1
by: Kevin | last post by:
I need some help figuring this one out. I'm sure I did something like it awhile back but I can seemed to find that database or remember how I did this. Any way, the database tables are...
9
by: Marianne160 | last post by:
Hi, I know there are various answers to this problem available on the web but none of them seem to work for me. I am using Access 2003 to make a form to look up data from a table. I have so far...
1
by: DJH | last post by:
I’m really having a problem with a project and I wonder if someone could help me. I have a bound combo box with multiple columns on a form called Concentrates For Parts. It is powered by a query...
8
by: jmartmem | last post by:
Greetings, I have an Access 2002 continuous form called "Project Update Form" in which users can update project values presented in a series of combo boxes and text boxes. I have three combo boxes...
12
by: azalea45 | last post by:
Hi all I am a newbie when it comes to access. My company requires that all Databases run on the company SQL back-end as a result i have a Access project that connects to the server. I have two...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.