Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7751081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:27:24+00:00 2026-06-01T11:27:24+00:00

I have setup a database view. When users import the data from the view

  • 0

I have setup a database view. When users import the data from the view into Word 2010 it is formatted in the same way as being in the database, like so:

-------------------------------------------------------------
|workorder  |customer  |performed activity                  |
-------------------------------------------------------------
|12345      |Client foo|activity foo                        |
|67890      |Client bar|activity bar                        |
-------------------------------------------------------------

But I would like it to be displayed like so:

-------------------------------------------------------------
client name:        Client foo
workorder:          12345
performed activity: activity foo
-------------------------------------------------------------

-------------------------------------------------------------
client name:        Client bar
workorder:          6789
performed activity: activity bar
-------------------------------------------------------------

I need to perform a certain action sequence programmatically for each row. The number of rows is different each time the document is made. The number of fields and their position is always the same.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T11:27:25+00:00Added an answer on June 1, 2026 at 11:27 am

    Use a Word template with a custom table styles set as default. Any table created in that document, manually or programmatically, will get the desired formating.

    1. Make a table (doesn’t matter how big).
    2. Click within the table and you’ll see 2 table-related tabs appear in the top Word toolbar.
    3. Click on the tab called ‘Design’.
    4. Enlarge the default table styles dropdown by clicking on the right bottom arrow.
    5. Click on ‘New Table Style …’ found at the bottom of the dropdown.
    6. Give your new table style a suitable name.
    7. Click on ‘Format’ in the left bottom and choose ‘Borders and Shading’.
    8. Set the borders as you desire. In your case: click on each of the 3 icons left of the preview.
    9. Press OK in ‘Borders and Shading’ and OK ‘New Table Style …’.
    10. Your table style appears amongst the border styles in the top toolbar.
    11. Right click your newly created border style and choose ‘Set as default’.
    12. Save the document as Word template (.dotx).
    13. Integrate the Word template in your macros.

    I hope this helps.

    *Performed on Microsoft Office Word 2007

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a UITableView and the data is pulled from a database stored externally.
We have replication setup on a database and is working fine. Now we want
I have setup multiple SQL Service Broker Queues in a database but have not
I have a SQLite database setup for my android application and I have it
currently I'm trying to have a setup where a generic database is distributed to
If you've got a database setup in Django, how can you have the TestRunner
I have a tool that is setup to query our Clearquest Database to return
I have set up a small SQL Server database for users to login and
I have set up the following: Database class ($db) Pagination class ($paginator) I am
i have set up an SQLite database. it seems that when i run a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.