set variable to portion of lookup field

set variable to portion of lookup field

I have a lookup field in FormB that is pointed to FormA. That lookup field is pulling a string and a date. I am trying to look at the date associated with the string to figure out if the item is acceptable or not.

When I create an if statement looking at the portion of the lookup field it says it cannot access child fields. Am I coding this wrong or what way should I go about it so that I can get the information I need.


Thank you.