Good day,
I am having a problem when compiling my app. I get the following error:
I can browse this file in my dictionary, I don’t specify a file path in the Full Path field on the table properties, so it should pick it up in my application folder.
I am sitting with this problem for a few days now and I am now really giving up
It is the first time I am having this problem as I have many apps that work fine.
You say “compiling my app” but I think you mean “running” ?
In the App open the Procedure you are running that is showing this message.
In an embed before Files are Opened insert a code like below.
If you are familiar to using Output Debug String then do that instead, or do it also.
IF ~EXISTS(NAME(SalesPerson) & .'TPS') THEN
message('File SalesPerson Name=' & NAME(SalesPerson) & |
'||Path='& LongPath() & |
'||DataPath='& SYSTEM{PROP:DataPath}, 'Procedure Name')
END
The NAME() will show the FILE Name() defined for the SalesPerson FILE.
If that File has no explicit path then the LongPath() will be prepended
… unless there is a PROP:DataPath set.
Try setting the ‘Full Path Name’ to be the same as the file name
ie SalesPerson.TPS
If it’s not set then it may default to an 8 Character name like ‘SalesPer.tps’ which it may not find.
The other possibility as Carl suggests is that the SYSTEM{Prop:DataPath} is set to something invalid. That can be set on the App Properties, File Control Tab