Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error -> "File does not exist" on calling any function of .prg file

Status
Not open for further replies.

KALP1

Programmer
Aug 26, 2016
102
IN
I have put all my generic functions in 1 .prg file(say named it 'General_functions') and in the main program I called
Do General_Functions
In all other programs I just call a function(say Get_Running_year()) defined in General_functions.prg .

Problem is that in some cases not always, I get error "File Get_Running_year.Prg does not exist."
What might be the reason for this as calling in the main prg, all functions defined in General_functions will be made available.

I have tried "Set procedure to General_functions additive" ,then too sometime I get this error.

Is there any other way to do that.
 
Jack, I never heard of that happening. Why should a RUN lead to your process forgetting its PROCEDURE setting? If you talk about the newly spawned Executable and it's process, not having access to any of your current EXEs process and settings is obvious.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top