Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...One of the best run forums I have used in years! ...I like the way the site is organized and your no tolerance of flames..."

Geography

Where in the world do Tek-Tips members come from?
VictorAnderson (Programmer)
14 Sep 00 2:18
I'm trying to write what I was hoping would be a simple program to add one line at the top of a report.

What I did was make the report, then made a copy of it and used the report designer to add the line, figuring it would be simple enough to compare the two .frx tables and see what was differnt.

My only problem (that I know of thus far anyway) is with the vpos field that will have to be changed for all the existing stuff on the report. I can't seem to find any type of consistant mathmatical forumla to modify the fields...surely there is some way to do this. Anyone have any ideas?

Thanks,
Victor

Victor Anderson
victoranderson@gmx.com
VFP Guru
ICQ# - 14847018

dgrewe (MIS)
14 Sep 00 7:26
The VPOS field is relative to the band you are in.
The size of the lines are relative to the size and height of the font.

Therefore to add a line to a report you and alter data in the VPOS field you would have to know:
1. The Height of the Band.  (your additions can not exceed this value)
2. The Type of Font
3. The point setting of the font.
4. The Height of the largest character in the font + the space between the lines. (Normally (Font Height / Point size)*2 )

Example Font        Arial          New Courrier
point size 8    =   0.16 inch      0.15
point size 20   =   0.33 inch      0.31
point size 22   =   0.35 inch.     0.33

David W. Grewe
Dave@internationalbid.net

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!

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