473,407 Members | 2,314 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,407 software developers and data experts.

Trying to create an invoice form

I am creating an invoice with a subform. I have a table with the vendor info and an invoice table. I am able to create a form that will pull up all the information on a particular vendor when I enter the vendor number.
I have a part table that has all the existing part numbers and the vendor numbers. I am able to create a query that will select all the part information for that vendor but I am unable to create the subform that will allow me to key a part number and then if the part number exist, the part information (price, discount and ext price) automatically populated the remaining fields.
Does anyone have a suggestion?
Dec 27 '07 #1
3 1969
nico5038
3,080 Expert 2GB
Best to use a combobox that's filtering the (unique) customers.
Next design a subform for a customer on the main form.
Finally single click the subform and add under the Data tab of the properties window for the Master and Child linkage fields:
Master: Nam of your combobox
Child: Keyname of customer.

Same can be used for the parts...

Getting the idea ?

Nic;o)
Dec 30 '07 #2
I understand that I need to use a combobox that filters the (unique) part but
when you say make a combobox do you mean add a field to my existing parts table (that I created with only the parts for the selected vendor) and make it a combobox or do you mean create a combobox in my subform? Or do you mean make my part # field the combobox? I am a little confused.
Jan 2 '08 #3
nico5038
3,080 Expert 2GB
I understand that I need to use a combobox that filters the (unique) part but
when you say make a combobox do you mean add a field to my existing parts table (that I created with only the parts for the selected vendor) and make it a combobox or do you mean create a combobox in my subform? Or do you mean make my part # field the combobox? I am a little confused.
I described a combobox on the mainform that's "linked" to the subform.
Thus when selecting a part, the subform will show only those linked to the value (e.g. the vendor) from the combobox.

When you want to select first the vendor and then the part, you should read the Howto: http://www.thescripts.com/forum/thread605958.html

Nic;o)
Jan 2 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Hohn Upshew | last post by:
I have a rather complicated function for updating from a list box called ListInvoices I want after updating to have a message saying " Invoice number ... has been updated."The invoice number...
4
by: Peeter Ups | last post by:
I have several tables in my database. I use these to create 'quotations' that show product code, description, selling price and quantity required. Users can enter as many lines as possible and a...
0
by: Kalvin Schroder | last post by:
Hello, I'm fairly new to MSAccess, and have developed a little program for invoices. I have the form all working, as well as the Report which is the printed invoice. On the report, I have an...
7
by: Patrick Fisher | last post by:
Hi I have a table which Contains entries with RefCode field containing INVP or INVPD Common fields in each entry would be InvoiceNo, Total and PurTyp for example. You could have ...
4
by: Gidi | last post by:
Hi, I'm writing a program that helps manging a store. i have one form that deals with products selling, in this form the user enters the customers details and the products which he bought. after...
3
by: Guoqi Zheng | last post by:
Dear sir, Our E-commerce site needs to print out a few 100s invoice a day. I do not know what is the best way to print invoice. Those invoice has to be printed on a very precise position on our...
2
by: samdev | last post by:
I need to set up invoices so each new invoice has next available number assigned. I have a table Named "InvoiceNumbers" that has a single field = "nextnumber" A 2nd table that contains the...
2
by: rrhistory | last post by:
I have an access database with information such as name, address, item buying, cost, qty etc. This was in excel originally, but I thought Access would be the better way to create the forms I need. ...
4
by: lawazia | last post by:
I am doing a project in which I have to create INVOICE reports I am using VB6 and Active reports. I am facing problem while creating a multipage invoice report. If the invoice report generated...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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...
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...
0
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,...
0
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...

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.