spartacus
7th November 2002, 19:30
we tried the following condition:
---------------------------
string test(9)
test = tccom010.cuno
test(7;3) = "001"
return(test)
-------------------------
gnerating the exchange scheme we get the error message, that the return type is wrong. We tried the condition type "value"
spartacus
lbencic
7th November 2002, 19:55
I don't have access to Triton right now - what types are available to you? Are you checking in Maintain Conditions, and the 'Type' field for your condition? In Baan IV, this allows you to put integer, long, string, etc. Which you should choose 'string' if that is an option. I don't see where you are getting the option 'value', but it could be a Triton thing.
Try compiling this with just:
string test(9)
return(test)
It wont give the result you want, but it should compile if you are set up properly. Did I read in another post that you could not compile anything..and is that now resolved?
Maybe post a screen shot of the Triton Maintain Conditions and the options for the 'type' drop down would help others visualize without access to Triton.
spartacus
7th November 2002, 20:17
Problems solved:
1. problem we still get an error message but due to the fact, that we adept text windows and text group we are able to edit conditions. --> the failure was in front of the keyboard :(
2. in triton you can not use "return(..)" . You have to use a couple of functions like: UPDATE.FIELD.STR(string var)
sorry the short explanation, but I'm very tired now.
Greetings and thanks
spartacus