Hi,
I'm using CRV10.
The following is a formula I have:
global NumberVar RentClubsStrStart;
global NumberVar RentClubsValStart;
global StringVar RentClubsVal;
RentClubsStrStart := InStr ({TESTUSOPENVIEW.COMMENT_TEXT}, "Rent Clubs: ");
RentClubsValStart = RentClubsStrStart + 12;
RentClubsVal := Mid ({TESTUSOPENVIEW.COMMENT_TEXT}, RentClubsValStart)
When doing a save and close on the formula I get no syntax errors.
When I'm back in the report and add the formula as a field I get the message:
"Start position is less than 1 or not an integer".
Why can't I use RentClubsValStart in the MID function. It's delcared as a number?
Thanks in advance.
I'm using CRV10.
The following is a formula I have:
global NumberVar RentClubsStrStart;
global NumberVar RentClubsValStart;
global StringVar RentClubsVal;
RentClubsStrStart := InStr ({TESTUSOPENVIEW.COMMENT_TEXT}, "Rent Clubs: ");
RentClubsValStart = RentClubsStrStart + 12;
RentClubsVal := Mid ({TESTUSOPENVIEW.COMMENT_TEXT}, RentClubsValStart)
When doing a save and close on the formula I get no syntax errors.
When I'm back in the report and add the formula as a field I get the message:
"Start position is less than 1 or not an integer".
Why can't I use RentClubsValStart in the MID function. It's delcared as a number?
Thanks in advance.