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

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

Recommended Posts

Posted

Hi,

I have two fields namely address1 and address2.

I need to merge these 2 fields seperated by commas.

This is how I achived this:

address1 & "," & address2 & ","

This is fine if both fields are populated, but if the second field is empty I get double ,, at the end of address1. Such as:

address1,,

I have tried to use the Substitute command without little success.

Could anyone please point me in the right direction.

Thank you

Posted

Why do you need the 2nd set of ",". If you leave it off, it should only show the one ","

Roger in Midland, Tx

Hi,

I have two fields namely address1 and address2.

I need to merge these 2 fields seperated by commas.

This is how I achived this:

This is fine if both fields are populated, but if the second field is empty I get double ,, at the end of address1. Such as:

I have tried to use the Substitute command without little success.

Could anyone please point me in the right direction.

Thank you

Posted

hi,

the reason is that the resultant file goes into a database that then displays the address as:

,

Just the way it should be.

Hope this helps?

  • 3 weeks later...
Posted

Hi

thank you for the reply...worked a treat!

Apologies for the delay in reading this.

Been away from the pc for a while.

Thanks again.

This topic is 6843 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.