Hide text and move up?
I have reports for invoices, workorders, quotes, po's, ect.
It would be nice to have panels, put text boxes in them aligned to top.
Then as you hide any fields, they just move up.
Currently I am doing this via all code. Which works, but very complicated at times as more stuff added.
Is there anyway to create something like this easier?
Example would be
I have a box in the top left.
Contains customer info. Name, phone, address, blah.
We have other details, things that aren't a big deal if blank. So if blank, just hide them from showing
on the report.
It would be nice to have panels, put text boxes in them aligned to top.
Then as you hide any fields, they just move up.
Currently I am doing this via all code. Which works, but very complicated at times as more stuff added.
Is there anyway to create something like this easier?
Example would be
I have a box in the top left.
Contains customer info. Name, phone, address, blah.
We have other details, things that aren't a big deal if blank. So if blank, just hide them from showing
on the report.
Comments
No one runs into such issue?
Is my design setup wrong?
I'd like one report that just kinda morphs depending on some settings... just doesnt seem like fastreports supports such things.
The reports I have (multiples) all need stuff to move around and adjust for different people.
Since we have a few hundred locations running this in 2 or 3 countries we need to be flexible.
The base core of its all the same, but just a few things need moved around depending on taxes and such.
It would be so nice to have a TPANEL like object... drop some memos or whatever else in there top aligned and hide the ones we don't need
and everything just moves up by itself.
The code works, but its hundreds of lines long and can mess up a report very quickly if one thing is off.
I have used OnBeforePrint handlers in script to make adjustments to memo sizes and visibility, or enable/disable child bands - at least then you know the script is synchronised to the report fields but on the other hand needs to be edited in every report.
Haven't tried subreport stuff yet... Maybe have to check it out if there are good examples.
Script code ....
Problem I guess is an area is common to all usages.
But depending on who/what/where you are and settings on server, reports need tweaked.
Would be nice to just plop a bunch of memos on top of each other... set ones i don't need to visible false ... and they are gone, and everything below just moves up.
What I have works, has worked for a long time now, it just gets crummy when we have to add stuff, so i gotta sometimes go through this nasty chunk of script code to
make all the adjustments.