PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
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?
Started by RobertLEO, Oct., 16 2019 12:24 PM - 2 replies
Connect yourself…
RobertLEO
#1
Registered member
36 messages
Posted on October, 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?
Report
0
0
Alexander Predl
#2
Posted on October, 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
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
)
Report
1
0
RobertLEO
#3
Registered member
36 messages
Posted on October, 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!
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text