Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am using a script to pull in the header information of an Outlook .MSG file. I am pulling back From:, To:, Date:, Subject. (See Script below). From this I am trying to make a Text Object conditionally show based on key words that might be present in the subject line. For example, if subject = "Good Morning" the text box will show.
// The first statement should create a table with three fields named @1, @2 and @3
_tmp:
LOAD *
From
// Here we filter out fields that are unrelated to those we want to keep
_tmp2:
LOAD Subfield(@1, ': ', 1) as Header, Subfield(@1, ': ', 2) as Info
Resident _tmp
Where WildMatch(@1, 'From: *', 'To: *', 'Date: *', 'Subject: *', 'Message Body: *');
DROP Table _tmp;
Hi,
If you could post the MSG file I will do some testing for you right away!
Thank you for your help, the .msg file attached.
Thank you for the file. Is the qvw attached any good?
I couldn't find data in your file so appended some imaginary data for testing.
Scenario A - text object shows up when key word "Good Morning" is entered
Scenario B - text object hides when key word entered is not available in the Subject line
Warm regards,
Nish
Hi Melvin,
look at this: https://www.youtube.com/watch?v=7mrZQvbN0_U
i hope that helps to resolve your issue
Beck
Hi there!
Have you had a chance to look at my reply yet?
Warm regards,
Nish