473,811 Members | 3,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Trying to create an invoice form

5 New Member
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 2006
nico5038
3,080 Recognized Expert Specialist
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
mlb992000
5 New Member
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 Recognized Expert Specialist
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
1898
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 should be equal to orders.invoiceId in my strWhere clause shown below.Can somebody help me ? strWhere = "orders.InvoiceID = " & Forms!!.Value Dim varRow As Variant For Each varRow In frm.ListInvoices.ItemsSelected
4
4157
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 running $ total is updated after each line is updated. At the end of the 'quote' I simply want to press a button, clear the inputted data and restart a new 'quotation'. Any help would be appreciated. I just don't know what code to put against...
0
1548
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 imbedded form made up from the orders table. The embedded form is connected by Master and Child link by the Invoice number. This all works fine as long as I have several items in the order. If I have only ONE or TWO items in there, apparently my...
7
1790
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 1001 500.50 INVP 1 1001 500.50 INVPID 1 1002 123.00 INVP 1
4
4704
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 the user payed for these products, i want to print a invoice, and now i don't know which way is the best one? one option i know, is to draw the invoice by myself (using drawlines and etc.), second way is using crystal reports, i'm not sure which...
3
2893
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 invoice format paper. I am thinking about the following to print the invoice. 1. Ms Access Report. 2. ASP.NET web form.
2
1719
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 sales transaction info including a field named "invno". Then created a form to input the sales and in the form is where I want
2
2161
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. What I want to do is create an invoice that will combine items from one buyer and then allow me to email that invoice thru outlook. MANY years ago I did programming in dbase--but for some reason I seem to be totally lost here. I have browsed...
4
5083
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 is of three pages then page footer of first two pages should be generated without any data(outline should be there) and the last page pagefooter should have the data(company norms and rules) in it.
0
9607
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
10652
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...
0
10395
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10408
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
10137
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9211
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
7673
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
5561
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
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.