![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am working on a project where I need to generate an Invoice for a client using database tabls. Normal tables are Invoice, Client, Address, Venue, Event (As this is the invoice for purchasing tickets for a event), Ticket etc. Invoice can be a simple one or can be in HTML. I don't know how to write SQL code to generate this kind of reports. I have a basic knowledge of SQL and I have written simple reports that displays data in tabular form(using select statements). But never written complex SQL to generate Invoice which is not in tabular form. Tamplete For Invoice : Company Name Address, City, St, zip Phone Fax ------- Billing Address and Shipping Address are side by side ------ Invoice ------------------ Event and Ticket Informations with pricing in tabular form Subtotal and total : Shipping Information : Can somebody help to find out how to write this kind of Invoice using SQL statements. Also how to write this embaded text and SQL queries. Nick ... |
![]() |
| Thread Tools | |
| Display Modes | |
| |