Who donit 'GOTCHA' problem ??? (AREV Specific)
At 22 JAN 2003 04:38:54PM Terry Rainville wrote:
Hello All, Happy New Year
Well I dont think I ever encountered this before, and yet its so simple and stupid, its a real gotcha problem.
I am calling a CATALYST - window (collector) in a program which returns a password for access into a section.
After that I ask for a number input from the user using a simple
msg with 'RC',
Problem is the program skips over the input????
SOULUTION
Well I think the problem lies in the catalyst call, probably in the
WC window variables, but if I call WC variables in the program it will
give me an error since the program is not called from a window.
So the problem is how to reset the variable causing the program to skip over the msg('','RC') call.
I already tried @ans, @pseudo and @record, none work.
I am also thinking scribe might have something to do with this, I will
check further.
THIS WORKS
Only other soulution I came up with is to ask for user input first
then verify the password after before allowing the program to continue, but this to me is sloppy and not the effect I am after.
ALL COMMENTS WILL BE APPRECIATED!! :)
At 22 JAN 2003 05:28PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Check @DATA and @PLAYBACK are both null.
World Leaders in all things RevSoft
At 22 JAN 2003 06:52PM Terry Rainville wrote:
@data is already blank and so is @playback
but good try, I forgot about the @data
never used playback before???
INTERESTING FOOTNOTE
Placing a debug statement before the msg, then when program breaks I just press G for go and then the MSG user input works :)
At 22 JAN 2003 07:05PM Terry Rainville wrote:
Well as I mentioned I tried using debug which showed @data as blank
and I mentioned that as an interesting thing, debug then Pressing G
made it work.
So then I thought ok, @data gets erased the minute you go into debug
and sure enough thats it,
So putting @data=' in my routine works nicely.
Thanks for your help!!! :)