GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
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?
Iniciado por RobertLEO, out., 16 2019 12:24 PM - 2 respostas
Conecte-se…
RobertLEO
#1
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?
Denunciar
0
0
Alexander Predl
#2
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
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
)
Denunciar
1
0
RobertLEO
#3
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!
Denunciar
0
0
→ Voltar para WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto