Dennis, is this one of those cases where you need to create each form “on the 
fly” using variables with a name that reflects a sequence number throughout?

So form #1 might be made using a sequence of variables beginning with vF1_ and 
form #2 with vF2_ and so on. Then you can do something like SET vVarName = 
(‘vF’ + (CTXT(.vFormCount)) +’_’ + [rest_of_name] ) – if you follow me.

I have never tried it so I might be talking rubbish.
Regards,
Alastair.




From: Dennis McGrath 
Sent: Tuesday, November 06, 2012 7:10 PM
To: RBASE-L Mailing List 
Subject: [RBASE-L] - Re: Controling multiple copies of the same form

Hi Larry,

 

I think I’ve got a solution to the variable problem. 

These are going to be variable forms.

 

The object of this exercise is to avoid multiple sessions.

If I can hide/show them on demand I am golden.

 

I might be able to use a form timer to check a variable, but I’m trying to 
avoid that too.

 

Dennis McGrath

Software Developer

QMI Security Solutions

1661 Glenlake Ave

Itasca IL 60143

630-980-8461

[email protected]

From: [email protected] [mailto:[email protected]] On Behalf Of Lawrence Lustig
Sent: Tuesday, November 06, 2012 12:56 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Controling multiple copies of the same form

 

<<

I’m looking for a way for a master form to be able to open multiple copies of 
the same form MDI and control which one is visible at any given time.

>>

 

I have not, but remember that you do not have form-local variables, including 
those you create and dispose of in EEP code.  Take extreme precautions.  If you 
need isolation between the forms, consider running each in a different session 
of R:Base.

 

--

Larry

Reply via email to