Information générale
Catégorie:
Installation et configuration
Titre:
Problem in running a prg
Versions des environnements
I am trying to develop a program for keeping records of individual student
in respective folder. I have a database table in which the ID and Name
of the Student will be stored. Then the next program will execute. I
have coded it as follows:
SELE A && student
INDEX ON CODE TO mStudT
SEEK mStudentID
IF FOUND()
bn=name
bn=allt(bn)
@12,60 SAY ALLT(NAME)
ENDIF
CH=0
@16,45 GET CH FUNCTION "*H \ READ
IF CH=1
*--------------
BN="c:\"+allt(BN)
if !directory(BN)
!MD &BN
# # [see note below]
!cd &bn
DO P1
ELSE
WAIT WINDOW "ALREADY EXISTS !PRESS [E]NTER TO CONTINUE"
CLOSE ALL
!cd &bn
DO P12
endif
My problem: How I can run the exe from the respective folder through
setup. P1 and P12 are the programs linked with forms, reports,
databases. [If I don't build exe and setup I can easily copied prgs
,databases at the # # above and run]
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement