FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
Is it possible to share 1 database with 2 separate apps?
Is it possible to share 1 database with 2 separate apps?
Débuté par RobertLEO, 16 oct. 2019 12:24 - 2 réponses
Connectez-vous…
RobertLEO
#1
Membre enregistré
36 messages
Posté le 16 octobre 2019 - 12:24
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?
Signaler
0
0
Alexander Predl
#2
Posté le 16 octobre 2019 - 12:33
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
s
Verzeichnis
is string
LOCAL
s
Dir
is string
s
Dir
=
SysDirStorageCard
(
)
s
Verzeichnis
=
CompleteDir
(
s
Dir
)
+
"yourappdatadir"
IF
NOT
fDirectoryExist
(
s
Verzeichnis
)
THEN
fMakeDir
(
s
Verzeichnis
)
END
HChangeDir
(
"*"
,
s
Verzeichnis
)
Signaler
1
0
RobertLEO
#3
Membre enregistré
36 messages
Posté le 16 octobre 2019 - 14:09
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!
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte