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 7851119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:05:24+00:00 2026-06-02T19:05:24+00:00

In making a file with MS Access to be used with QuickBooks IIF, I

  • 0

In making a file with MS Access to be used with QuickBooks IIF, I need a tab delimited file, with no white spaces in between the identifiers. I have this output file opening and all goes into the file, but with spaces on either side of the strings. Below is what I started with:

Print #1, "!TRNS", vbTab, "TRNSID", vbTab, "TRNSTYPE", vbTab, "DATE" 'etc...

and I modified it to:

Print #1, "!TRNS", vbTab, Trim(strTRNSID), vbTab, Trim("TRNSTYPE"), vbTab, "DATE" 'etc...

The spaces are not eliminated in the output file file with the trim function; so I mean the strings that are sent with tabs still have spaces on either side of the strings.

How do I get rid of those spaces?

  • 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-02T19:05:25+00:00Added an answer on June 2, 2026 at 7:05 pm

    How about concatenating the strings before you pass them to the Print command?

    Print #1, "!TRNS" & vbTab & Trim(strTRNSID) & vbTab & Trim("TRNSTYPE") & vbTab & "DATE"
    

    You’ll need to make sure each item is converted to a string, but otherwise that should be OK I think

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

Sidebar

Related Questions

I have an external JavaScript file that will be used on pages with lots
This code actually used to work until now. I have no idea what is
I have to parallelize an application; This application has to process a file, I
Should extension methods only be used on classes whose code you don't have access
I am making a project file called Business . I have a website project
I am making a .MDB file which include a ms access database and a
I have a PHP script that uses cURL to access a file also located
I am making file input boxes through a javascrpit function, if the user wants
I am making a libary file with functions for extra credit for computer programming
Is is possible to prevent Wget from making an output file when there is

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.