Thanks Karen.  I had just come to that conclusion and was about to report my 
mistake.

Have a great day!

Claudine

From: 'Karen Tellef' via RBASE-L [mailto:[email protected]]
Sent: Thursday, November 15, 2018 12:58 PM
To: [email protected]
Subject: Re: [RBASE-L] - Stored Procedures

The problem is that you bring up the form in MDI mode.  When you do that, the 
procedure that calls it ALWAYS continues.  You cannot bring up a form in MDI 
unless the rest of the program code doesn't rely on anything in that form.  
Take out the MDI

Karen




-----Original Message-----
From: Claudine Robbins <[email protected]>
To: [email protected] <[email protected]>
Sent: Thu, Nov 15, 2018 12:52 pm
Subject: [RBASE-L] - Stored Procedures
I have a new issue with a stored procedure routine which goes like this:

I call the SP NewCompanies(1) to pass a value of 1 to the SP

STEP 1 I use the DIALOG to get the user’s input on the company name they want 
to add.

STEP 2 I then EDIT USING FORMCHOOSE MDI AS ‘PICKONE’  which takes the user 
value and bring up the form.

On the form is a button to (i) set a variable vContinue to Y in order to 
proceed and (ii) to CLOSEWINDOW PICKONE

STEP 3 Back in the SP, I test the vContinue value for further action.

The problem is the SP code runs all the way through to the return before the 
FORMCHOOSE comes up on the screen.

It goes STEP 1, STEP 2, tests vContinue which is initialized to N, exits the 
SP, then shows the FORMCHOOSE…

Any ideas?

TIA,

Claudine
--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to