|
Is it possible to share 1 database with 2 separate apps? |
Iniciado por RobertLEO, out., 16 2019 12:24 PM - 2 respostas |
| |
| | | |
|
| |
Membro registado 36 mensagems |
|
Publicado em outubro, 16 2019 - 12:24 PM |
So I am planning to make 2 apps that work off each other, the gist of the apps are that App A will be made for consumers while App B will be made for the service providers, where users of App A will be able to request for services from service providers using App B, and service providers of B can create something like a prescription for the users of A to buy.
Can this be done? |
| |
| |
| | | |
|
| | |
| |
Publicado em outubro, 16 2019 - 12:33 PM |
Hi Robert,
yes you can simply share the same analysis with both projects (I share the same analysis through 8 WinDev Apps and a WinDev Mobile App)
Then you need to define the directory like this (in the Initializing code of the project)
GLOBAL sVerzeichnis is string
LOCAL sDir is string
sDir = SysDirStorageCard() sVerzeichnis=CompleteDir(sDir)+"yourappdatadir" IF NOT fDirectoryExist(sVerzeichnis) THEN fMakeDir(sVerzeichnis) END HChangeDir("*",sVerzeichnis) |
| |
| |
| | | |
|
| | |
| |
Membro registado 36 mensagems |
|
Publicado em outubro, 16 2019 - 2:09 PM |
Alexander Predl wrote:
Hi Robert,
yes you can simply share the same analysis with both projects (I share the same analysis through 8 WinDev Apps and a WinDev Mobile App)
Then you need to define the directory like this (in the Initializing code of the project)
GLOBAL sVerzeichnis is string
LOCAL sDir is string
sDir = SysDirStorageCard() sVerzeichnis=CompleteDir(sDir)+"yourappdatadir" IF NOT fDirectoryExist(sVerzeichnis) THEN fMakeDir(sVerzeichnis) END HChangeDir("*",sVerzeichnis)
Thanks! I will give this a try! |
| |
| |
| | | |
|
| | | | |
| | |
|