Calculating Table Height

Calculating Table Height

Forum member · Apr 13, 2007
Hello, i just got a requirement that i could not do it - can someone please help me. there are 2 table. the first table has a cell containing a chunck of memo field from Access (long characters in Oracle), so the height of that table is adjust accordingly - if it is a short memo, it might be only 1 line. if it is a long one, it might be multiple lines. the second table is right below the first table. when we create a table, we have to specify the X and Y coordinates. is it possible to have the Y coordinate dynamically - depending on the height of that first table that I mentioned above. Please be advise. Thank You very much

Re: Calculating Table Height

Support · Apr 13, 2007
Hello, Yes, you can add the Y values dynamically. You will have to keep track of the Y value. You can know the height of the first table by using the GetRequiredHeight method of the table and you will have to add some padding to this height and add the second table at this Y position. This will solve your problem. Thanks, ceTe Software Support Team.