Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Forcing the position of the UPG file?

file forcing position UPG
0
Posted

Forcing the position of the UPG file?

0

By default the UPG file is placed in the application directory, in the same place as the calling program. In certain circumstances you may need to override this. If for example you access the data from a number of EXE’s, stored in different locations, or if you don’t have write access to the application directory, then it makes sense to store the UPG file in the data directory. In fact, there is a strong case for getting the UPG file to appear in the data directory. Here are some of the advantages for this: When the user backs up the data the UPG file is also backed up. If you take a copy of the users data for support reasons then the UPG file is included. On a network, the data directory is likely to be shared, but the application directory would probably not be shared. To set the position of the UPG file, use the ds_SetUPGPath() function. This should be called in the FM3:Start Of Initialisation Global Embed. Note: you must load the path (if you’re using a variable). Note for SQL user

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.