Hi All,
I have a field which contains strings of letters and/or numbers:
Examples: Hospital-Unit-Room-BedNum or Hospital-Department
Hospital-ICU-1234-1
Hospital-ICU-1234-2
Hospital-TELE-4567-A
Hospital-TELE-4567-A
Hospital-Laboratory
What I need is to have only the last six characters display IF there are numbers in the string - Right({table.field},6)?
AND
if the string has no numbers, display the entire string - Hospital-Department.
Thanks for All Help!
I have a field which contains strings of letters and/or numbers:
Examples: Hospital-Unit-Room-BedNum or Hospital-Department
Hospital-ICU-1234-1
Hospital-ICU-1234-2
Hospital-TELE-4567-A
Hospital-TELE-4567-A
Hospital-Laboratory
What I need is to have only the last six characters display IF there are numbers in the string - Right({table.field},6)?
AND
if the string has no numbers, display the entire string - Hospital-Department.
Thanks for All Help!