Hi there, i've created 2 separate table elements in flexilayout. Both table have the same column fields. When i export them out i want it to be a single table. Is there any way i can do it via settings or scripts? Appreciate your help in this. Thanks!
Combining 2 tables into 1
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています
コメント
3件のコメント
Scripting, sure. Probably easiest to use a Stage script after Recognition.
I have to ask, why did you make two tables in FLS with the same columns?
Yes, this is possible via scripting using below steps:
Regards,
Rahul Kapoor
Rahul Kapoor Thanks for the suggestion. Are you able to provide the syntax for step 2, adding of n rows to 1st table?
Currently i'm using the follow but for some reason the loop doesn't seem to be working and additional rows are being added as well.
string docDec01 = "Document Section 1";
IField dtTableLastPage = Document.Field (docSec01 + "\\TableLastPage");
IField dtTable = Document.Field (docSec01 + "\\Table");
int rowCountLastPage = dtTableLastPage.ItemsCount;
int rowCountForOrg = dtTable.ItemsCount;
dtTable.Items.AddNew(rowCountLastPage)
for (int i = 0; i < rowCountLastPage, i++)
サインインしてコメントを残してください。