Click to See Complete Forum and Search --> : How To Print A Refrence Card


KSandeep
December 14th, 2005, 01:44 AM
hi all,
i am developing an address book application in VB6+MSACCESS and for reporting Crystal Repots.
For that I've Two tables
1.Add_Master----> To store list of contacts
2.Owner_Mater---> To store list of Owners who owns the contacts in the above table.

I want to print a reference card. It looks same like visiting card, but with a difference.
The header of the reference card will contain the name of owner, the footer will contain the phone, mobile, email, www.

and in the details section, there will be data of the contact of that owner.

for example:
----------------------------------------------------------------------------------------------
Mr.Abc <---------Name of owner
----------------------------------------------------------------------------------------------
Mr.John 0222054164654 <---------owner's contact detail
email------
----------------------------------------------------------------------------------------------
564113213 abc@yeah.com, yeah.com <---------owner details
----------------------------------------------------------------------------------------------

Now when Mr. ABC gives this reference card to Mr. Sandeep. And in turn Mr.Sandeep goes to Mr.John. Mr.John comes to know from the card, that Mr.Sandeep has been referred by Mr.ABC.


Till now, I've been able to print the above correctly, but the matter of concern is:

The size of page.
1. When I send a reference card to print, the printout should be in the card format, and not the whole page. How to do it ?
2. There should be one record per page.

Regards,
Sandeep

Madhi
December 30th, 2005, 03:15 AM
1 Set the printer setup or Use Mail Label Report
2 Goto the section export of Details section. In the New Page After. Click the button labelled x-2 and write this code
recordnumber mod 2=1