Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 13th, 2004, 04:37 AM
Gainzim Gainzim is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 43 Gainzim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 5 m 37 sec
Reputation Power: 5
Complete fields in a form automatically?

Hello all,
Please could someone help me with my puzzle?
I am very new to Access and perhaps a little bit "tick"!

I am trying to design a Data Base for customer service.
One of my many problems is as follows.
I have a table for my customers with all customer details ie.
Customer name, type, account number, monthly rental/contract etc.

Then I have another table with job details, customer A/C number, name, type, monthly rental/contract (from customer table.

What I would like to do in the job table/form is simply enter the customers A/C number and have access fill in the customer name, type and monthly rental/contract.

Please could one of you experts out there help me?
I would be oh so grateful.
Brian.
Zimbabwe.

Reply With Quote
  #2  
Old February 13th, 2004, 09:57 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
For starters If you are storing the customer A/C number, name, type, monthly rental/contract in the customer table, you should NOT be storing them the in the job detail too. All you would store in the job detail table is the field that identifies the customer (and based on what you have said it would be the customer A/C number). The you would like these tables together to display the customer information with the job when print the job detail.

Now if you would like to know how to bring that additional information over based on selecting an item from a combo box and by typing in a value into a text box. Look at the following thread and download a sampel DB I have there. The form of interest is frmCustomer and you will want to look at the after update event code in cmboCustNumber and the txtCustNumber.

http://forums.aspfree.com/showthrea...=52690#poststop

Now if you have any question about how to do this please ask and I will help you.


S-

Reply With Quote
  #3  
Old February 16th, 2004, 11:56 PM
Gainzim Gainzim is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 43 Gainzim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 5 m 37 sec
Reputation Power: 5
Quote:
Originally Posted by sbaxter
For starters If you are storing the customer A/C number, name, type, monthly rental/contract in the customer table, you should NOT be storing them the in the job detail too. All you would store in the job detail table is the field that identifies the customer (and based on what you have said it would be the customer A/C number). The you would like these tables together to display the customer information with the job when print the job detail.

Now if you would like to know how to bring that additional information over based on selecting an item from a combo box and by typing in a value into a text box. Look at the following thread and download a sampel DB I have there. The form of interest is frmCustomer and you will want to look at the after update event code in cmboCustNumber and the txtCustNumber.

http://forums.aspfree.com/showthrea...=52690#poststop

Now if you have any question about how to do this please ask and I will help you.


S-

Thanks for your assistance.
Sorry I have not replied sooner as connectivity from zimbabwe is rather poor.
Thank you and I will be asking LOTS more questions.

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Complete fields in a form automatically?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT