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

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

Recommended Posts

Posted

I post this here, because it has more to do with scripting than with exporting.

I have a persons database

Each entry has a "details?" field with "yes" or "no" value.

I need to export this database to a tab delimited txt file for other sources

but for the entries with "details?"="no" i don't want to include some fields in this export.

say i have 10 fields for each entry

for the "yes" entries i need to export all 10 of them, for the "no" entries I only need to export 3 of them.

but there should be a space instead (so this exported file can be imported in excel)

I don't have a clue where to start

I hope this is a little clear

Posted

For the 7 fields that you want to export conditionally, create 7 calculated fields with these formulae:

cExportField1:= Case(Details="yes",Field1,"")

cExportField2:= Case(Details="yes",Field2,"")

cExportField3:= Case(Details="yes",Field3,"")

etc.

Then use these export fields instead of the originals.

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