473,387 Members | 3,781 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,387 software developers and data experts.

Invoice Print Preview

Hi,
Please help me to find a best way to preview/print an invoice.

I allready have a forms design for sales transaction but when i trying to design a report for the sales invoice it will display all the data in the fields from the sales transaction, now i want to display only the current sales transaction on my forms.

I do not know which criteria that i have to use to filter, i cannot use the CustomerID and TransactionDate because CustomerID is not automatically input in the field when everytime i add a products/items only on the first record so from the second to the last field on that transaction was blank.

So i need to find a way how to make one criteria something like that or control number for each invoice to filter my report.

Ps...I'm Just a beginer in macro

Thx,
Matt
Aug 30 '11 #1

✓ answered by NeoPa

Matt, I'm sorry to say your thinking is not in tune with how databases work. I suspect you may benefit greatly however, from following the advice I expect orangeCat will be giving you if you co-operate whith them. Just as some light reading while you're waiting though, have a look at Database Normalisation and Table structures. You may find this a bit much to get into just now, but if you can manage to understand it, it will give you a big leap forward in your understanding of database concepts (and save you from untold numbers of headaches). You won't be sorry you persevered.

4 1766
orangeCat
83 64KB
You may have a table design problem. You should be able to identify any transaction especially if you want to print/manipulate a specific transaction.
What is the table structure of your Transaction Table?
Aug 30 '11 #2
NeoPa
32,556 Expert Mod 16PB
Matt, I'm sorry to say your thinking is not in tune with how databases work. I suspect you may benefit greatly however, from following the advice I expect orangeCat will be giving you if you co-operate whith them. Just as some light reading while you're waiting though, have a look at Database Normalisation and Table structures. You may find this a bit much to get into just now, but if you can manage to understand it, it will give you a big leap forward in your understanding of database concepts (and save you from untold numbers of headaches). You won't be sorry you persevered.
Aug 30 '11 #3
Hi Buddy, thx for your reply, here is Sales Transaction Table
Incase my structure is really bad i'm willing to make a new one from your guide.

Tabe Name: Sales Transaction

Fields: TransactionID (PK)
CustomerID (Linked to Customer Table)
ProductID (Linked to Product Table)
UnitPrice
Quantity
SalesDate
Aug 30 '11 #4
@NeoPa
Oh that's ok Neopa, i'm happy you reply i'm willing to learn more and i know you can help me from you guide..

thx
Aug 30 '11 #5

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

Similar topics

16
by: Neo Geshel | last post by:
I'm helping on a web site, and it's got our knickers in a knot. We're using the same basic CSS files (with mods) and same headers as from our other sites, but the "print preview" won't work...
7
by: Pat | last post by:
I would like to send the Print Preview of a MS Access form to a Snapshot file. The form contains an OLE graph. BACKGROUND A snapshot of a report is possible. If I could I would use a report to...
0
by: Malcolm Cook | last post by:
I've discovered: Using "File > Print Preview" in a form's datasheet view with a server Filter crashes access after previewing... ....that is, unless ServerFilterByForm has been turned off...
1
by: sea | last post by:
I have Access 2002 and I am writing this application with a custom menu bar that has a print preview button -- the start up options hide the design window. The problem is that when an open form is...
4
by: Greg Teets | last post by:
This opens the report and prints it out: objAccess.DoCmd.OpenReport ("Invoice") But I can't seem to use any options. How can I print preview? I get a syntax error when I use the...
0
by: John | last post by:
I have a class that creates an AxWebBrowser object in the background, loads some arbitrary html content, then shows the user a print preview. The only problem is, this print preview is a tiny...
2
by: Dean Slindee | last post by:
Anybody written code in VB.NET to: 1) show a print preview window of reports already written and stored in an Access 2002 database; or 2) execute the print of a report stored in an Access 2002...
9
by: igotyourdotnet | last post by:
I need to create a print preview page BUT my page I need to print has a grid and in the grid I have 2 or 3 columns that have links I want to hide the columns with the links on my print preview page...
2
by: Brad Pears | last post by:
I have a vb.net 2005 application and am using the print preview screen. This screen has a printer icon on it that the user can use to print the document currently being viewed. It uses the default...
4
by: scubasteve | last post by:
I've developed a product pricing application for a client in AC2007. They enter all the data on the one main form, then click a button to open a printable report in Print Preview. My problem...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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.