×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

VISUAL FOXPRO

VISUAL FOXPRO

VISUAL FOXPRO

(OP)
Sir
In the Visual Foxpro, I am collecting the report from .dbf file using the syntax
? <List of Variable>
But I use do while case and various logic inside the loop. Hence I can't collect the details using the report format.
So I am compelled to use the ? to print the records details.

I am suppose to use the Dot Matrix Printer.

If I use so, the printed text is not perfectly aligned.

That is the first line and the second line does not align perfectly.

Will you please give me a solution for this.
If you need I can upload the program with database also.

RE: VISUAL FOXPRO

We understand you're saying your code for printing is complex, you may stay with what you have using ?? or even ??? through the generic Text printer driver, but most important of all is using a monospaced font like Courier. To get everything you're used to from DOS maybe use Foxfont.

Besides that, instead of ? you can collect all the data inside rows of a cursor and then use that for an FRX report and in the doing run much of the things you do like creating a grid with line characters is much easier using a report, so finally you'd scrap your code and instead use a report which can even look much better, create you much better readable PDFs, etc.

If you want to stick with all your code you better also stick with DOS and your dot matrix ptrinter, though.

Bye, Olaf.

Olaf Doschke Software Engineering
https://www.doschke.name

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close