In Forms 10 I have a SQL lookup that starts with a job number (60000-) then pulls the available Phases for the job number (0100-12345-) then attempts to lookup the the available cost codes for the match.
I can get the job number no problem as well as lookup and get the Phases, but when the Phase number is returned, the spacing is formatted so the next lookup fails.
The Phase field in SQL is a 4R-5R-5RN. So a value of (0100- 60-) would return (0100- 60-) and truncate the spaces. A value of (0100- 9000-) works perfectly as it is 5 characters after the dash. Anything less than 4 characters after the 4R- fails.
Is there a way to hold the value format so that the next lookup works?
Is there a CSS format or javascript I could employ to format the lookup returned value?
Any help is appreciated. My workaround is to build another table eliminating the spaces and then updating that table with live data daily.