Hi All , it is my first post in this great forume ,

I am in a greate problem and i hope to find the solurion here ,
I created a datareport and used the (shape) object as a frame for each row in the report ,
my case is when the RptTextBox is grown "as its can grow property is set to true" the shape is not growing , i tried using the code , but still the same ,
the code i set is:

rptname.sections("DetailsSection").controls("shape").height=rptname.sections("DetailsSection").height

hi. i think it will only grow when the data transfers to the object is longer than the object's current width. it will automatically adjust as the data or text gets longer.

thank you for your reply ,
yah I know that the textbox will grow , but what i need to resize if the shape arround the record ,
the section and the textboxes are doing fine , however the shape stills at the original size no matter what is the section size,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.