Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7479 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hey!

I am trying to export records from my database with defined blank areas in each line. Currently I am using text export with tab delimiters.

For example;

1234 name number anothernumber

I know that I can limit an field to a set size using left(1234,4) that sets the first field to 4 characters.

How do I set the spaces between the fields?

Say I want 2 spaces from the "1234" and the "name" fields

then I want 4 spaces from the "name" field to the "number" field.

Thanks for the help,

RAD DAD

Posted

HI larosche,

I'm not sure I understand you completely. If you are exporting your file as a "Tab Delimited Text" file, then there will be Tabs between your fields and a "Return" between your records when viewed in a Text Editor such as BBedit or TextPad.

If you are creating a Calculation Field Concatenating your fields to then export that field, then you need to use the " " and your different fields (i.e. Field A & " " & Field B & " " & Field C)

Note, there are four spaces inbetween the quotes shown.

HTH

Lee

smile.gif

  • 5 weeks later...
Posted

Lee,

Your suggestion was the key I needed. I concatonated the fields using a single field and exported the field by itself. I was able to use variable spaces between the fields I wanted to export.

In other words I wanted

exported field = field1 & " " & field2 & " " & field

Thanks for the help!

Ed

This topic is 7479 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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