473,800 Members | 2,495 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access Invoice Help

1 New Member
Hello,

I am a total noob when it comes to access and VBA, i was wondering if you guys could help me with a few things.

Firstly, im creating an invoice application in access. I need some help with the following problem.
I have a 'Customer Database', and a 'Product database' named respectivly, i have developed both of these fine. What my plan is, is to have a sheet that has a selection for the data in the invoice required to be generated and for the user to enter the required data, such as which company its going to the products etc.

First issue...I have a combo box with the current Customers in the database, but what i would like to do is to have the address details and such automatically enter themselves in labels when i select the appropiate customer, like a vlookup function in excel.

Second, i would like an easy way to have a 'excel style spreadsheet' function to enter the products that are to be invoiced. I know of a Subform, Subreports control. I dont know how to use this very well. Any help with this would be greatly appreciated.

Thanks for any help you can give me, some links to tutorials with these would be great!

Regards, Adam
Jul 8 '07 #1
1 1453
MMcCarthy
14,534 Recognized Expert Moderator MVP
Hello,

I am a total noob when it comes to access and VBA, i was wondering if you guys could help me with a few things.

Firstly, im creating an invoice application in access. I need some help with the following problem.
I have a 'Customer Database', and a 'Product database' named respectivly, i have developed both of these fine.
Do you mean tables?

What my plan is, is to have a sheet that has a selection for the data in the invoice required to be generated and for the user to enter the required data, such as which company its going to the products etc.

First issue...I have a combo box with the current Customers in the database, but what i would like to do is to have the address details and such automatically enter themselves in labels when i select the appropiate customer, like a vlookup function in excel.
Is your invoice a report?

Second, i would like an easy way to have a 'excel style spreadsheet' function to enter the products that are to be invoiced. I know of a Subform, Subreports control. I dont know how to use this very well. Any help with this would be greatly appreciated.

Thanks for any help you can give me, some links to tutorials with these would be great!

Regards, Adam
Adam

We need a lot more information about what your are doing. If your invoice is a report what is the query which you are using as the record source of your report

How you add your products to an order will depend on how you need to keep those records.

e.g. A standard invoicing system would be as follows.

tblCustomer
custID (primary key)
custName
custAddress

tblProduct
prodID (primary key)
prodName

tblOrder
orderID (primary key)
custID (foreign key referencing tblCustomer)

tblOrderDetail
orderDetailID (primary key)
orderID (foreign key referencing tblOrder)
prodID (foreign key referencing tblProduct)
qty

tblInvoice
InvoiceNum (Primary key)
orderID (foreign key referencing tblOrder)

A typical query for an Invoice report would be.
Expand|Select|Wrap|Line Numbers
  1. SELECT InvoiceNum, tblOrder.OrderID, tblCustomer.custID, custName, custAddress
  2. FROM ((tblInvoice INNER JOIN tblOrder
  3. ON tblInvoice.OrderID = tblOrder.OrderID)
  4. INNER JOIN tblCustomer
  5. ON tblOrder.custID = tblCustomer.custID)
  6.  
Then create a subReport based on the tblOrderDetail table. Join this to the main report based on orderID
Jul 17 '07 #2

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

Similar topics

3
10552
by: Ken | last post by:
Hi I have a CRM system which is based on access. We use this system to automatically create all our offers and invoices etc. The problem is the offers usually look quite absurd as we have no influence in which order the articles within our offers / invoices appear on the final document. What I trying to do is to set up a drop down list of numbers between 1
22
2044
by: script-learner | last post by:
I currently own a fruit and veg business and wish to compuiterise my manual methods in order to reduce labour costs. I spoke to my son who is a whiz on computers and he had a good chat with me and explained that what I needed was possible but he was unsure if he had the capabillities to carry it out. He has started drawing some plans and I will attempt to explain what I will require from the software. It will need to be user friendly and...
2
1689
by: JonZ | last post by:
I would like to setup MS Access to use with my maintenance business and am trying to figure out the best way to do it. I have a customer list that stays pretty consistent. Each month I send out an invoice to each customer for the previous months work which might include extra non recurring items. I need to keep the invoice records on file for accounts recievable and reference. I presently use clarisworks and make a seperate file for...
3
1602
by: gjoneshtfc | last post by:
Hello I have never used VB before but have been asked to look at coding a button in Microsoft Access. The button currently exits a form and opens a new form and works great. However, when the new form opens i want it to open with information about the record i had open in the previous form. For example: I am looking at a record for everything to do with invoice number 50 in the first form. The second form is the invoice print
1
1745
by: Hemant Trivedi | last post by:
Hi I am Hemant Hello to everone Now I want to discuss a problem I am facing in Ms-Access report and I want solution of it can U help me? My Problem is I want to print an invoice through Ms-Access Report. That invoice has fixed format i.e. It has fixed space for printing the description of items i.e. say it has space for printing 10 items per invoice. If an invoice has more than 10 items then they should be printnted on seperate page...
2
1270
by: Muhammad Rahim Jan | last post by:
hey friends, I want to create some database for my invoicing needs.. but i dont have any idea how to create database and invoice in ms access. below is the structure which i need to work on.. ------------------------------------------------------------------------------------------------------------------- Distributor Name: ________________ which put from a distributor database. Reference person: ________________ which put from a reference...
5
1326
by: Punjabi Munda | last post by:
Hello alls , i am working on a interanet application for Inventory handling, i have a problem while submitting the data to server, please help me? the problem goes like this Data base : Ms-Access Front End : ASP The problem is how to comit the data "say Invoice" to main database is two persons tries to make invoice at same time at different computers, How to maintain the series of Invoice unaffected, how to allocat Invoice number to...
15
4114
by: chaseexchange | last post by:
First, a brief explanation of why this has happened. I purchased, what I thought, was a fully functional program written in Access last year from a local programmer. This program was to be used as my POS for an online DVD store. It turns out that what the programmer actually gave me was a "license" to use his software. This was not the agreement we made, and he knows this. He took advantage of the fact that I knew very little about...
1
1711
by: beemomo | last post by:
Hi everyone and anyone, i have a form in Access named "Invoice" which store information for each particular invoice. After filling in the particular detail of an invoice, I want to click on a button "Create Invoice" to open a word document so that i can perform the mail merge function to select the Invoice Data from access and then convert it into PDF file and lastly save it as a Invoice file like INV0100 - P85037, That's mean each Invoice...
6
5909
by: ConfusedMay | last post by:
Hi I need some helps in calculating the invoice amount in access 2003 report. Basically I have an access report that shows invoice#, invoice amount, payment amount, and payment date. The problem is some customers paid 2 - 3 times for 1 invoices (different amount and date) so when I total the invoice amount it duplicated since the report will show the same invoice amount for 2 payments for example: invoice number invoice amount ...
0
9551
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
10505
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
10033
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...
1
7576
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
6811
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
5471
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
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
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.