how i set two path table in server and form and report in client system

hi,
i have database in server folder name
(\\fahim\data)
and form and report in client system folder
f:\fahim\main.exe
f:\fahim\forms\login and orther forms
f:\fahim\reports\reports1 and orther reports
f:\fahim\menu\mainmenu

now how i set my application path i have two path
i server and other clietn forms,reports,menu path
how i manage and how i run my exe in client system

thanking you



Answer this question

how i set two path table in server and form and report in client system

  • bill_chapin

    Fahim,
    I didn't understand your question exactly. Check 'set path' command. You could do something like this:

    set path to ('\\fahim\data;f:\fahim;f:\fahim\forms;f:\fahim\reports;f:\fahim\menu')

    However you have an exe. During building your project forms, menu and other included items would be compiled into the executable. You don't need to set path to those. A typical VFP installation looks like:

    ApplicationFolder\VFPapplication.exe

    DataFolder\Data files here

    There might be other optional items like .dll, .fll, config.fpw placed in ApplicationFolder. Sometimes you might prefer not to include reports, then it looks like:

    ApplicationFolder\VFPapplication.exe
    ApplicationFolder\Reports\.fr* files here

    DataFolder\Data files here

    In code you could set a path like:
    set path to ('reports;\\fahim\data')


  • how i set two path table in server and form and report in client system