Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data printing
Message
From
25/07/2008 09:54:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/07/2008 23:27:36
Muthu Vel
Sty Company
India
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01333986
Message ID:
01334063
Views:
11
>1. I have a Emp.dbf, its having five fields namely 1.ID 2.Name 3.Designation 4.Department 5.Place, total its having 1500 records.
>
>2. I want to print the records through coding only but not in the Report Designer.

Why?

You have several alternatives, but I would suggest using the Report Designer since it is easier. The alternatives include:

@ ... say You can send data directly to the printer, but it is tricky to do a reliable preview this way.

Use my download #9991 (or a similar solution), to print in text mode, or to print to Excel. (Text reporting on your own can be done with the "?" and "??" commands; you might also try to do your own Excel report. See my article on Excel Automation.)

Use third-party reporting tools like Crystal Reports. Those usually cost extra money.

And probably a few more.

>
>3. I have create Print.scx, In that I have placed one combobox, one command button, through combo box Additem method add five departments
>namely 1.Accadamic 2.Establishment 3.Accounts 4.Estate office 5.Electric. Fox example I want to print Employee whose working in
>Accounts and I have select Accounts in Combo box and click print Command button the Printer print Only Accounts department Records.
>Let assume the Accounts Department total 200 records, every pages I want print 30 records only and every pages I want to print Headings.
>The heading is
>1st line " Qutech software solution"
>2nd line is "No. 12 Ashok nagar, Chennai"
>
>How to write Printing code?
>
>Thanking you
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform