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

Form Design Query

I have a database for producing quotations for customers. I have a
Quote Header table and a related Quote Detail table. There is also a
Customer table to store the customer details. To produce a quote for
a customer I need to be able to either select a record from a Customer
table or create a new record on the customer table.

I can produce a form with a combo box to lookup an existing record
from the customer table - where the form is based on the quote header
table with a related sub-table for the quote details. But I want to
be able to either select an existing customer OR enter a new customer,
using the quote form.

Is there any way to do this?

Jul 5 '07 #1
1 1299
in**@alphabyte.co.uk wrote in
news:11**********************@r34g2000hsd.googlegr oups.com:
I have a database for producing quotations for customers. I
have a Quote Header table and a related Quote Detail table.
There is also a Customer table to store the customer details.
To produce a quote for a customer I need to be able to either
select a record from a Customer table or create a new record
on the customer table.

I can produce a form with a combo box to lookup an existing
record from the customer table - where the form is based on
the quote header table with a related sub-table for the quote
details. But I want to be able to either select an existing
customer OR enter a new customer, using the quote form.

Is there any way to do this?
set the combobox.limittolist property to yes.
when the new customer'sa name is not present, a message will pop
up asking if you wish to add it. Your code then should open a
small form to enter the customer details, save the newly entered
data to the customers table and set the response to
acDataErrAdded
see http://msdn2.microsoft.com/en-us/library/aa211431
(office.11).aspx
--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Jul 5 '07 #2

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

Similar topics

2
by: Pete | last post by:
Before I get started with the question, does anyone have a (single) good book recommendation for database design? Not an Access-specific book, but something geared toward helping me figure out...
25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
2
by: Ray | last post by:
Stop me if you've heard this, but I am running Access 2002 and all of a sudden, if I design a particular form (it's been working fine for ages), Access crashes rather than open it in design view. ...
9
by: Lyn | last post by:
Hi, I have a form which is opened from a button on another form. The form is used to display a list of records from a recordset in Continuous Mode. It is sized vertically to display about 25...
2
by: fstenoughsnoopy | last post by:
I have a customer order database and I need to pull a customers information, ie first name, last name, address, city, state, zip, phone, etc, into the oder table. i don't know how to go about...
6
by: Col | last post by:
Hi - I'm working in a database that someone else created. They set up the switchboard so that it can't be minimized nor can you switch to design view. It's been a hassle because I'm testing stuff...
4
by: yanjie.ma | last post by:
Hi, I've got a two part question on table and form design (sorry for the length but it takes a bit to explain). Our sales department uses a look-up table to help the them select the best...
4
by: Deus402 | last post by:
Here is my table design: tblEmployers EmployerID autonum (primary key) EmployerName text tblLocations LocationID autonum (primary key) EmployerID longint (foreign key) LocationAdress text
1
by: BerkshireGuy | last post by:
I have a pretty intense query behind a form. I know that I need to somehow make the query better. We are looking at those options. I noticed that the form is really really slow in design mode....
6
by: Dave | last post by:
On my form I have combo boxes. These combo boxes, after updating them, populate respective listboxes that are located below the combo boxes on the same form. I am trying to use a "generate...
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:
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...
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...
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
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...

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.