I'm thinking that is cannot be very complicated...but I can't find a solution anywhwere.
I'm running a VFP 7.0 .prg's
I need to run an external a non-vfp program using a VFP value as a parameter.
Currently, I have tried the RUN command:
Run c:\programs\Prog1.exe
This causes the program to run in a pop-up Window just fine.
However, I need to run the program with the parameter:
Run c:\programs\Prog1.exe <phone number>
The customer's phone number is 8645551234
The phone number is stored in a VFP .dbf table in the TEL field.
When I try the command:
RUN c:\programs\Prog1.exe TEL
...it will run Prog1.exe using, literally "TEL" as the parameter...not the customer's phone number.
I need it to run the program as:
RUN c:\programs\Prog1.exe 8655551234
Does anyone know of a way to pass the value stored in TEL as a parameter in a RUN command??
Any advice GREATLY appreciated.
Thanks
I'm running a VFP 7.0 .prg's
I need to run an external a non-vfp program using a VFP value as a parameter.
Currently, I have tried the RUN command:
Run c:\programs\Prog1.exe
This causes the program to run in a pop-up Window just fine.
However, I need to run the program with the parameter:
Run c:\programs\Prog1.exe <phone number>
The customer's phone number is 8645551234
The phone number is stored in a VFP .dbf table in the TEL field.
When I try the command:
RUN c:\programs\Prog1.exe TEL
...it will run Prog1.exe using, literally "TEL" as the parameter...not the customer's phone number.
I need it to run the program as:
RUN c:\programs\Prog1.exe 8655551234
Does anyone know of a way to pass the value stored in TEL as a parameter in a RUN command??
Any advice GREATLY appreciated.
Thanks