Marc,

Don't forget the FILEFIND function.  Here is piece of code from one of my 
applications.  Use it as you will.

SET VAR gvApx TEXT=(FINDFILE('DBDoc76.APX'))
IF gvApx IS NULL THEN
  SET VAR vDlgMsg TEXT='Required files missing from PATH:'
  SET VAR vDlgMsg=(.vDlgMsg & 'DBDoc76.APX')
  SET VAR vDlgMsg= +
    (.vDlgMsg + '. Place missing file(s) in PATH.  Then restart application.')
  PAUSE 1 USING .vDlgMsg AT CENTER CENTER DEFAULT GRAY ON RED
  EXIT
ENDIF


Jim Bentley
American Celiac Society
[EMAIL PROTECTED]
tel: 1-504-737-3293


--- On Wed, 7/16/08, Marc <[EMAIL PROTECTED]> wrote:

> From: Marc <[EMAIL PROTECTED]>
> Subject: [RBASE-L] - Re: Property ID Directory ....
> To: "RBASE-L Mailing List" <[email protected]>
> Date: Wednesday, July 16, 2008, 2:35 PM
> HI Jim
> 
> I never thought of that but I would hate to do all that
> work.
> Trying to save energy you know!
> 
> I was thinking about CVAL currDir or something, then
> do the Property command on the 3rd tab to reset it back to
> the
> correct dir.
> 
> Leave it to me to so something strange.
> 
> Thanks
> Marc
> 
> 
> 
> 
> ----- Original Message ----- 
> From: "James Bentley"
> <[EMAIL PROTECTED]>
> To: "RBASE-L Mailing List"
> <[email protected]>
> Sent: Wednesday, July 16, 2008 2:17 PM
> Subject: [RBASE-L] - Re: Property ID Directory ....
> 
> 
> > Marc,
> >
> > Not sure about the property command. However,  In my
> application I 
> > actually set a global variable with the full path to
> the ".APX" file such 
> > as set gvapx text =
> 'c:\appdir\Prog7.apx'. Then I would use:
> > Run Outone in &gvapx
> > That way no matter what the user (or even worse me)
> does with directores 
> > my application knows where the ".APX" file
> is located.  I got this idea 
> > from a long ago technical document.  It was a lot of
> work to convert the 
> > application, modifying forms, reports, labels, and
> command file.  Now the 
> > only time I occasionally trip up is when I am
> modifying a form or report 
> > and forget to set the global variable.
> >
> > Jim Bentley
> > American Celiac Society
> > [EMAIL PROTECTED]
> > tel: 1-504-737-3293
> >
> >
> > --- On Wed, 7/16/08, Marc
> <[EMAIL PROTECTED]> wrote:
> >
> >> From: Marc <[EMAIL PROTECTED]>
> >> Subject: [RBASE-L] - Property ID Directory ....
> >> To: "RBASE-L Mailing List"
> <[email protected]>
> >> Date: Wednesday, July 16, 2008, 10:03 AM
> >> Hi
> >>
> >> Does    PROPERTY scpathid directory .vscanpath
> >> change the default folder RBase looks for APEX
> files?
> >>
> >> I have a Tab form with 4 tabs, on Tab 3 I have a
> Drop down
> >> menu to print reports the EEL is like this
> >> Run Outone in Prog7.apx  --select printer...
> >> Print Report...
> >>
> >> On tab 4 I use the Property ID Directory command
> to set a
> >> default
> >> folder to view files in a File list view.
> >>
> >> If I click on the 4th tab that run this Property
> command
> >> then click on
> >> Tab 3 the Run Outone in Prog7.apx fails to run and
> I get an
> >> error saying
> >> can't find it in the folder from the Property
> command.
> >>
> >> If I click on the 3rd tab first it works fine.
> >>
> >> What am I missing?
> >> Marc
> >>
> >>
> >>
> >>   ----- Original Message ----- 
> >>   From: Marc
> >>   To: RBASE-L Mailing List
> >>   Sent: Wednesday, July 16, 2008 8:31 AM
> >>   Subject: [RBASE-L] - How often should you Pack
> Index
> >>
> >>
> >>   Hi
> >>
> >>   We do a Unload all once a month to rebuild the
> database
> >>   but should I Pack the Indexes once per week?
> >>
> >>   Thanks
> >>   Marc
> >
> >
> >
> >
> >


      


Reply via email to