Conditional Line Export

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
JasonStync
Posts: 1
Joined: Wed Feb 07, 2018 6:46 am

Conditional Line Export

Post by JasonStync » Wed Jul 16, 2014 6:32 pm

Want to exclude a data field from export if selected records of that data field contain zero (0) values. When previewing the data field is conditionally removed but not when exporting. Suggestions?____Randall

User avatar
cstrasser
Posts: 155
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Conditional Line Export

Post by cstrasser » Tue Jul 22, 2014 10:54 am

Are you saying that you^re trying to exclude the whole line when a particular field is 0 or only that field from the line?____Any field on the line will be exported regardless of its value. My experience with line logic for a whole line is that it works as expected.____How is your report structured?
Chris Strasser
Liveware Publishing, Inc.
Work bigger.

rwarden
Posts: 31
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Conditional Line Export

Post by rwarden » Tue Jul 22, 2014 12:01 pm

If in all database records a data field is not populated I want to exclude that data field in the exported records.

User avatar
cstrasser
Posts: 155
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: Conditional Line Export

Post by cstrasser » Fri Aug 15, 2014 8:11 am

You might be better off creating a calculated field that handles the logic within your export line:____field1: Chris__field2: Strasser__field3: 40__field4: 4/18/1979____expline ==> field1 + ", " + field2 + ", " + str(field3, 3, 0) + ", " + dtoc(field4)____then you^d get__Chris, Strasser, 40, 4/18/1979____on your output line. If one of these fields was blank, the result would be (say)__Chris, , 40, 4/18/1979
Chris Strasser
Liveware Publishing, Inc.
Work bigger.

Post Reply