I'm playing around with different scenarios, and found this.
In this app, the database consists solely of a connection and remote views,
and is located in a subfolder of the project folder called data\. The
database is included in the build. Forms are built with the data\ database
in their data environment.
At runtime, I open the database (no path, because it's included). I was
concerned that the forms would not be able to locate their data, since the
data\ folder does not exist at this time (I renamed the original to prevent
confusion). Yet the forms seem to work fine. Can anyone elucidate? Is this
behavior documented?
Furthermore, I put a button on a form to display DBC(), and it shows c:\...
runtime folder\data\databasename.dbc, even though the data\ folder and
databasename.dbc do not exist on disk. (They could be temp files somewhere,
but that's not what is shown.)
Any help explaining this as a general and reliable rule would be
appreciated.