David,

Try moving the second Edit Using pendingjobs ... into the first form, 
dispatchjobs as an On After Start EEP.

Good luck,

Paul Buckley

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
DAVID FOWLER
Sent: December 18, 2017 12:14 PM
To: [email protected]
Subject: Re: [RBASE-L] - Suppressing main R:Base screen

Razzak,

Thank you for the quick answer.  What you suggest is what I have done.  The 
only difference is that the second for I open is also MDI.  If I open the 
second without it being MDI, I can't move back and forth between the two forms, 
I can only access the second form that is opened.  

Here's the code from the app that opens the forms.

CONNECT custmr
PROPERTY APPLICATION TITLE 'Dispatch'
EDIT USING dispatchedjobs WHERE status='d' SORTED BY jobdate tin operator + MDI 
AS dispatchwindow CAPTION 'DISPATCHED JOBS'
EDIT USING pendingjobs WHERE status='p' SORTED BY jobdate street + MDI AS 
pendingwindow CAPTION 'PENDING JOBS'
RETURN

Thanks for any other ideas.

David Fowler


> On December 18, 2017 at 10:12 AM "A. Razzak Memon" <[email protected]> wrote:
> 
> 
> David,
> 
> Here is a very simple approach ...
> 
> 01. Create a command file, such as, MyApplication.DAT, that include 
> all your database CONNECT statement and then EDIT USING formname ...., etc.
>      -- Example
>      -- MyApplication.DAT
>      CONNECT dbname
>      CLS
>      EDIT USING formname1 MDI
>      EDIT USING formname2
>      RETURN
> 
> 02. Create application shortcut as follows:
>      -- Example
>      Target: C:\RBTI\RBGX\RBGX.EXE MyApplication.DAT
>      Start in: C:\Databases\
> 
> 03. Double-clicking on the shortcut will launch RBGX.exe with all your 
> statements in the MyApplication.DAT file.
> 
> 04. You may also RUN MyApplication.DAT at the R> Prompt or from the 
> Database Explorer > Command Files as well.
> 
> That should provide you with the outcome you are looking for.
> 
> Hope that helps!
> 
> Very Best R:egards,
> 
> Razzak
> 
> 
> 
> At 09:41 AM 12/18/2017, dkfowler6179 wrote:
> 
> >I've got an app that opens two forms as MDI.  That part works, but 
> >after the forms open, the main R:Base screen (database explorer, 
> >editor, etc. Opens over top of the forms.  I can minimize that window 
> >and hide it behind the forms and use them but would like to suppress 
> >the window from opening at all.  I'm probably missing something easy, 
> >but haven't been able to figure it out.
> >
> >Thanks for any help.
> >
> >David Fowler
> >Roto-Rooter
> 
> --
> 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.

--
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.

-- 
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