Jump to content
Sign in to follow this  
rupino

How can I use Scribe to add a new table to a doc?

Recommended Posts

I am new to Scribe and am wanting to programmatically create a doc with n number of tables. How can I add a table to an existing doc?

I have tried the ScribeDocAppend function and successfully pulled in a blank table from another template doc. However, this seems to overwrite the existing data in the target doc. This function also adds "1" to the end of target doc. Any help is appreciated.

Share this post


Link to post
Share on other sites

Hello,

Scribe doesn't support creating tables in a Word document. The way I would approach this is how you did by using ScribeDocAppend. However, I am not able to reproduce the issues you are reporting. I have attached a sample file that will load a document, append a new document that has a table in it n times, and then save the document to a container. This approach will only allow you to append a table of the same size. However,  using ScribeDocWriteValue to write to tables, writing to non-existent table cells will create new rows/columns as needed, copying cell styles from preceding cells. This will also only append tables to the end of the document. 

Ntables.fmp12

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.