473,657 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2651
Are you asking us to do your homework for you?

<we****@gmail.c om> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.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.c om> 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
1522
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 definition is OK. I tried to access the same DSN (system DSN) thro' PHP and the following error is displayed. Warning: odbc_connect() : SQL error:
1
1764
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{ cartId == userSessionId subTotal == totalCost of all items in cart item == (1 or more Items) }
0
1055
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 my text boxes that is suppose to have the date in it doesn't work. Please help me how to make my forms and the data access page link right. Thanks, MaryO mowen@aescurb.com
0
263
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 tim@craftproducers.com. Thanks, Tim Cianciola
3
7441
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 copy of a database including all the relationships, forms, queries and modules while still within the original database. This has to be a relatively automated process (button click). Any suggestions?
1
1840
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 was created by a third party developer that is no longer in business. In other words there is no one there I can turn to for help. My first set of code gave me every indication of having
0
1151
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 .And in that machine while running the application it is showing Run-time error ' 2147352567(80020009)' You can't assign a value to this object.I tried in my office system which has 2000 environement.But it is working properly . Do i need to load...
2
1022
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
2045
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 specific text) in Excel is below: =IF(ISNUMBER(SEARCH("v",A2)),"OK", "Not OK") I have been trying to replicate it in Access with little luck.
2
1353
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 login form with the standard txtUser txtPassword lblUser lbl Password, a reset button a cancel button and a login button. This part, pretty easy, Now, need the Visual Basic portion of it to reflect the Access portion of it. I honestly have no...
0
8319
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8837
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8512
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7347
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6175
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.