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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FPW26 Report Form Overlapping Text Areas

Status
Not open for further replies.

GKatReliable

Programmer
Jul 2, 2002
45
US
Our production payroll system is written in FoxPro for Windows 2.6a. The paycheck is a report form. I have to add a "California disclaimer" to it, saying what bank it is payable at, depending on values in the supporting .dbf. Since I have to be able to say 2 different messages eg. "Payable at Bank A" vs. "Payable at Bank B", and I can't do it in the contents of any field in the .dbf, the only thing I could think of was to create text, and do Print When, and apply my IIF in that. Then create a second set of text with its own Print When.
My little dilemma is that these text areas by necessity have to sit right on top of each other in the report form design surface. FPW26 is primitive enough that I can't get at the one underneath the top one to edit it without writing down the position of the top one and moving it over to be able to click on the bottom one. I thought double clicking would cycle between them like in Visio, but nuh-uh.
Regards,
Glenn Koproske
 
Glenn,
Is there a question here? Are you using a 9+ year old copy of Visio?

Rick
 
My question is,
How, either with the mouse or keyboard, do I select the text area B which is underneath text area A, when I am in the Fox report form design surface?
 
Click on the field which is visible & select option "Send to back" which is presnet in Format or report Menu. Now click on some place else on the report to release the selection & you can see that the other field is now visible
 
Or drag the visible field to one side and park it. Then modify the visble field which was previously hidden. When complete, move back the parked field.
 
Ghunaima has the answer for you. It allows you to edit one object, send it to the back and then edit the next "On Top" object.

I have made some VERY complex over-laid Foxpro Report Forms which work like you have described and they behave well.

One suggestion to simplicate maintenance (depending on the over-lay complexity) - keep a copy of each "layer" on its own separate FRX form for editing purposes. Then when editing is complete, copy the contents back onto the single combined form.

Also do not use an IIF(,,) in the Print When expression. It already is an implied IIF. Merely put in the conditions under which you wish it to print - such as:
mcBank = "My Bank1"

Good Luck,


JRB-Bldr
VisionQuest Consulting
Business Analyst & CIO Consulting Services
CIOServices@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top