Focal Point
Different Application folders with Masters file with the same name

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6387059136

July 03, 2013, 06:22 PM
dsplats
Different Application folders with Masters file with the same name
I have a setup where I have different database connections in different Application folders. Each of these databases have a lot of the same table names. I am attempting to do a report where I need data from both of those databases from the same table name. How can a do a normal TABLE FILE command and specify which master file I want?


WebFocus Server 7.7.04
Client 7.7.03 HF 5
Windows Server 2008 R2 x64
HTML,Active HTML, Excel
July 03, 2013, 06:28 PM
Waz
You will need to set the APP PATH to choose


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

July 04, 2013, 02:32 AM
Tony A
You could also have single versons of the MAS and ACX file and then dynamically set your connection within your code.

This has been discussed on the forum and you should be able to use search to locate posts with "connection".

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
July 04, 2013, 03:48 AM
Ram Prasad E
You can also change the Master File names in seconds APP folder, so that each master file names are unique(though they have same table name in access file).
Then use Universal Concatenation MORE phrase,to retrieve data in single TABLE FILE request.

Thanks,
Ram


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/
July 04, 2013, 09:48 AM
Francis Mariani
We usually have the schema name as a prefix to the master/access file names. You could add the database name as a prefix...

You can also specify the app folder name:

TABLE FILE BASEAPP/CAR

TABLE FILE TEST/CAR


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server