Bennie47250
Programmer
Using Crystal 7.0
Data is from a MS SQL table
Have a text field that has more information in it than I want. How can I only show the part I want?
In the example below, I only want to read the last 3 prompts which is
PROMPT;Month for the report;7
PROMPT;Days for calculating;145
PROMPT;Cust Num;15881
Everything else I do not want it to appear on the report.
I have 3 different report and each have their own unique prompts but what I’m looking for always comes after the text EXP_FORMAT;31
Example of all the text in the field
PROMPT;DATETIME;8/4/2011 8:58:42 AM
PROMPT;DATE;8/4/2011
PROMPT;TIME;8:58:42 AM
PROMPT;USERID;Dollar
PROMPT;UserName;DollarUSER
PROMPT;UserEmail;
PROMPT;UserPhone;
PROMPT;UserFax;
PROMPT;UserLastLogin;8/4/2011 8:58:42 AM
PROMPT;UserData1;
PROMPT;UserData2;
PROMPT;UserData3;
PROMPT;UserData4;
PROMPT;UserData5;
LOGONALL;DSN=OLAP;
EXP_FORMAT;31
PROMPT;Month for the report;7
PROMPT;Days for calculating;145
PROMPT;Cust Num;15881
Thanks
Bennie
Data is from a MS SQL table
Have a text field that has more information in it than I want. How can I only show the part I want?
In the example below, I only want to read the last 3 prompts which is
PROMPT;Month for the report;7
PROMPT;Days for calculating;145
PROMPT;Cust Num;15881
Everything else I do not want it to appear on the report.
I have 3 different report and each have their own unique prompts but what I’m looking for always comes after the text EXP_FORMAT;31
Example of all the text in the field
PROMPT;DATETIME;8/4/2011 8:58:42 AM
PROMPT;DATE;8/4/2011
PROMPT;TIME;8:58:42 AM
PROMPT;USERID;Dollar
PROMPT;UserName;DollarUSER
PROMPT;UserEmail;
PROMPT;UserPhone;
PROMPT;UserFax;
PROMPT;UserLastLogin;8/4/2011 8:58:42 AM
PROMPT;UserData1;
PROMPT;UserData2;
PROMPT;UserData3;
PROMPT;UserData4;
PROMPT;UserData5;
LOGONALL;DSN=OLAP;
EXP_FORMAT;31
PROMPT;Month for the report;7
PROMPT;Days for calculating;145
PROMPT;Cust Num;15881
Thanks
Bennie