I'm having some trouble getting a variable back from a stored
procedure and wonder if I'm doing something wrong or if someone has a
work around. The following test procedure will not return the entire
string to the variable.
Example 1:
*(temp.prc)
CHOOSE vp_choose +
FROM #LIST 'Will this go beyond 8 characters?' +
AT CENTER CENTER +
TITLE .vp_output_title
RETURN .vp_choose
Here's my put: PUT temp.prc AS temp vp_choose_title TEXT
Here's my call: SET VAR vtemp TEXT = (CALL temp ("Make a choice"))
vtemp returns: Will thi
The only way it will work is to eliminate the vp_choose_title
variable in the put statement and eliminate if from the choose in the
procedure. Example 2
*(temp.prc)
CHOOSE vp_choose +
FROM #LIST 'Will this go beyond 8 characters?' +
AT CENTER CENTER
RETURN .vp_choose
Here's my put: PUT temp.prc AS temp
Here's my call: SET VAR vtemp TEXT = (CALL temp ())
vtemp returns: Will this go beyond 8 characters?
I really need to send some variables to a procedure and get the full
result. Any ideas and help would be appreciated.
Duey++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++
+ Duey Heffelfinger, Director of Computer Services
+
+ E-mail: [EMAIL PROTECTED] Dana College
+
+ Phone : 402-426-7289 2848 College Drive
+
+ Blair, Nebraska 68008
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ If you can dream it, it can come true!
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++