问题
I have a question I'm using vs2015 and crystalreport CRforVS_13_0_18. I designed my report but when this report has a field longer than the others columns, only this grows, Even I set all the fields to check the option Can Grows. Can you help me?. Thanks in advance. I share a snapshot.
And this is my designer.
When I put borders, they don't show with the same height. like this:
I did the extra section but i have problems with left and right lines.
Finally. i got to do lines untill the end of the section but how can i align in vertical center? please.
回答1:
Add another section below Section 3. Let's call this Section N.
Put a horizontal line (as long as table width in Section 3) in this Section N, and decrease the height of this section to as low as possible.
- Reduces it only leave space for this horizontal like to be visible.
Now when you will be run the report, section N will be printed for every section 3 (row) and can help in drawing a line after each row.
回答2:
Please show the "Informe principal view" if you can, to get a more clear picture.
So the field in description for item nº2 and 3 should grow ?
Can you try this:
- Did you check the field in sql ?
- Are the labels (Nº, Cant, Cod.Barras ...) on different sections than the fields ?
- Are the fields you wanna grow on Details ?
- Did you set a printer ?
来源:https://stackoverflow.com/questions/54185665/how-to-align-an-autoadjust-size-using-database-fields-in-crystalreport