Hi,
In Relativity Designer/DBA, I can change the path to the data file supporting each of my table.
If all the data files are in the same directory, is it possible to have a dynamic path, like with a environment variable? Or is it possible to modify it in a batch?
Thank you!
Simon.
#Relativityyou can use a file application.cfg and read this file in your first application and read the file sequential and set the path to all directories, also the ip-address to the sql-database, etc....
here a example:
ADMDAT=I:\\ADM\\ADMFIRM\\DATEN\\
ADMPRT=I:\\ADM\\ADMFIRM\\DATEN\\PRT\\
ADMPRG=I:\\ADM\\ADMFIRM\\PROG\\
CSBDAT=Q:\\CSB42\\DATEN\\
FTPEXP=H:\\FTPDATA\\ADM\\EXPORT\\
FTPIMP=H:\\FTPDATA\\ADM\\IMPORT\\
DHLIMP=H:\\FTPDATA\\DHL\\IMPORT\\
SKBIMP=H:\\FTPDATA\\SKB\\IMPORT\\
VODIMP=H:\\FTPDATA\\VOD\\IMPORT\\
TCOIMP=H:\\FTPDATA\\TCO\\IMPORT\\
SSKEXP=N:\\SFIRMDATEN\\TRANSFER\\
TOBEXP=\\\\RABENHROST16\\DAVID\\IMPORT\\
LL-DBG=0
DS-DBG=0
SQLDAT=1
CSBSQL=0
MAILSV=192.168.13.48
FTPSRV=192.168.13.63
SICH=h:\\public\\arj32 a h:\\adm\\sicher\\adm.arj h:\\adm\\daten\\*.*
RSICH=h:\\public\\arj32 e -y h:\\adm\\sicher\\adm.arj h:\\adm\\daten\\*.*
COMPI=NX
Then you can string you dataname dynamically in your application!