Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

which api ?

Status
Not open for further replies.

slatet

Programmer
Sep 11, 2003
116
US
We've had someone suggest that a windows API call can handle our problem. We have found the solution to this problem both for free and paying for a 3rd party tool but it is a hassle to get anything installed and therefore cannot get it installed by our deadline of Oct 1. So if anyone can lead us in the right direction, we would appreciate it.

We have an Access 2000 database. We have a report in which we have to flip one field and display it upside down. It has been suggested GetWindowRect might handle this?

Thanks ahead of time.
 
AS far as I can see if you say "We have a report in which we have to flip one field and display it upside down", I would say no, GetWindowRect is not the right API. GetWindowRect will "Copies the dimensions of the bounding rectangle of the CWnd object to the structure pointed to by lpRect.".
It sounds like you need to flip a field value to appear upside-down on a report. I'm not too familiar with Access, but does Access have such feature as putting the value of the field into a label and use somekind of "rotating" text feature.
On the otherhand if you wanted to flip a portion of a Windows Form in Access or other platform, GetWindowRect woudl get you started by allow you to determine which portion of the form you need to flip, by getting the bounderies of the rectangle. But that is only the start and it does not sound like that is what you need.



Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Maybe you could use excel to produce the final report with the flipped value. Cell contents can be rotated from -90 to +90 degrees. That would mean doing something like rotating everything +90 and the field you want flipped would be rotated -90. It wouldn't be much use on screen, but could be printed correctly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top