mahima Posted February 11, 2008 Share Posted February 11, 2008 Hi, In my database I have one field "status" which is a Vaue list containing list of vlaues. When I export that field to Excel file it is like this "Inactive Failed Eval #1 Failed Eval #2" . Before exporting Can we do like this separate those values with commas like this: "Inactive, Failed Eval #1, Failed Eval #2" Do this for values which are checked(checkbox checked) before exporting? or Can we export into multiple columns of excel like status1, status2.. Thanks in advance Quote Link to comment Share on other sites More sharing options...
mahima Posted February 11, 2008 Author Share Posted February 11, 2008 Hi, I got the answer: Let ( [ n = YourCheckBoxField ; x = Substitute ( n ; "¶" ; ", " ) ]; If ( PatternCount ( x ; ", " ) ; Replace ( x ; Position ( x ; ", " ; 1 ; PatternCount ( x ; ", " ) ) ; 2 ; " and " ) ; x ) ) Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.