473,385 Members | 1,630 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,385 software developers and data experts.

Access Help

Im trying to build a database for my DBMS class. I need the code for a
form that makes it so when a user clicks a combo box and selects a
number from it it fills in the rest of the form based on the number
chosen. The fields i need to fill in are address city state zip. This
is for a grocery warehouse and the numbers in the combo box are the
store numbers. thanks for the help.

Wedge

Nov 13 '05 #1
6 2621
Are you asking us to do your homework for you?

<we****@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Im trying to build a database for my DBMS class. I need the code for a
form that makes it so when a user clicks a combo box and selects a
number from it it fills in the rest of the form based on the number
chosen. The fields i need to fill in are address city state zip. This
is for a grocery warehouse and the numbers in the combo box are the
store numbers. thanks for the help.

Wedge

Nov 13 '05 #2
Nope

Nov 13 '05 #3
MacDermott wrote:
Are you asking us to do your homework for you?


Sounds like it... "I need the code for..." Christ, why bother paying
the bucks for a class if one is going to be as lazy as this *appears* to
be...

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Nov 13 '05 #4
Wedge

I'll give you the steps. Not the code. I don't do homework.
In the after update even of the combo box (hopefully the bound column
of your combo box points to a key on the table that is unique) select
the records from the table where they are equal to the value of the
combo box.
With the recordset selected set your text boxes, listbox's, etc values
equal to that of the recordset.

Hope it helps

Nov 13 '05 #5
yeah it does thanks
thats more what i wass looking for

Nov 13 '05 #6
"Wedge" <we****@gmail.com> wrote
yeah it does thanks
thats more what i wass looking for


Just for grins, that is one of the options for creating a Combo Box if you
have the Controls Wizard set (the "magic wand" in the toolbox). And the
Controls Wizard does not have any reticence about helping with your
homework. <GRIN>

That functionality used to be called "Query by Form" and was in help in
earlier versions of Access.

In fact, using the Wizard might be exactly what your instructor wants you to
do.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #7

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

Similar topics

0
by: A.P. Madura | last post by:
Need help in debugging this problem. I have an access database which I use to demonstrate Java - ODBC connectivity and it works perfectly fine. This allows me to assume that the Data Source name...
1
by: mbeddedsoft | last post by:
I'm trying to use access as the database for a website. I don't expect too much traffic initially and I didn't want to bother with a more robust/complex db. Anyway, I have this 2 tables: Cart{...
0
by: MaryO | last post by:
I have tried to bring up the data access page after creating my tables and forms. The only problem is that the information is not linking right. My dropdown boxes have nothing in them and one of...
0
by: GMAVT | last post by:
I own a small business and we have a database on access. I need a small amount of work done and would like to find an Access Guru to do help out (for pay). If interested please email me at...
3
by: news.giganews.com | last post by:
Does anyone know if there's an easy way to export or copy the relationship structure from one mdb to a new one? The relationships in the db are time consuming to reproduce. I am trying to make a...
1
by: Dave Martin | last post by:
I am working on a project that is giving me trouble. It has to be done quickly. It is being written in C# and I am totally new to C#. I need to update an MS Access database application that...
0
by: roshnair | last post by:
Hi all Currently I am working in Access VBA Project(access 2003).Everything is working fine for my project and i just implemented it in client place . But in their office some mechine is in 2000...
2
by: Don I | last post by:
Microsoft Visual Basic .NET 55501-640-5372443-18381 I'm trying to access the program's help files but all I get is "Page can not be displayed". Any idea what's up? Thx. Don I
4
by: DyingIsis | last post by:
Hello - I'm a relatively new user of Access. None the less, I have a function within Excel that I would like to recreate in Access. The function called (Check if part of a cell matches...
2
risk32
by: risk32 | last post by:
OK. So I have NO idea what I'm doing. I've only worked with Excel VBA, JS, and HTML. No clue how to use access since it's different (except maybe the VB portion of Excel VBA). I'm trying to make a...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.