How to align an autoadjust size using database fields in crystalreport?

痴心易碎 提交于 2021-01-29 09:58:48

问题


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:


  1. Add another section below Section 3. Let's call this Section N.

  2. 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.

  3. 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:

  1. Did you check the field in sql ?
  2. Are the labels (Nº, Cant, Cod.Barras ...) on different sections than the fields ?
  3. Are the fields you wanna grow on Details ?
  4. Did you set a printer ?


来源:https://stackoverflow.com/questions/54185665/how-to-align-an-autoadjust-size-using-database-fields-in-crystalreport

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!