LittleSmudge
Programmer
I am working on updating a database originally built by someone else. It contains reports where various fields in the detail section are separated by vertical LINE controls ( point size 2 so they are big and obvious )
One of the text controls in the report has it's CanGrow set to Yes and so occasionally the control grows to accommodate a lot of data and this means that the lines do not join up from one record to the next and we get an odd looking gap in what would otherwise be vertial lines running down the whole length of the page.
I've tried to get the Detail.Height value and set the Line.Height value to match it but
1) Detail.Height doesn't change in OnFormat even if the control is expanding it to fit ( Because it doesn't happen until OnPrint ? )
2) The Line control doesn't have a .Height property visible in VBA
3} I can't change Line.Height in the OnPrint event anyway because it has already been formatted ( - is this true ? )
Any ideas how I do what I need?
G LS
One of the text controls in the report has it's CanGrow set to Yes and so occasionally the control grows to accommodate a lot of data and this means that the lines do not join up from one record to the next and we get an odd looking gap in what would otherwise be vertial lines running down the whole length of the page.
I've tried to get the Detail.Height value and set the Line.Height value to match it but
1) Detail.Height doesn't change in OnFormat even if the control is expanding it to fit ( Because it doesn't happen until OnPrint ? )
2) The Line control doesn't have a .Height property visible in VBA
3} I can't change Line.Height in the OnPrint event anyway because it has already been formatted ( - is this true ? )
Any ideas how I do what I need?
G LS