Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
QlikView 11 for Developers

You're reading from   QlikView 11 for Developers This book is smartly built around a practical case study – HighCloud Airlines – to help you gain an in-depth understanding of how to build applications for Business Intelligence using QlikView. A superb hands-on guide.

Arrow left icon
Product type Paperback
Published in Nov 2012
Publisher Packt
ISBN-13 9781849686068
Length 534 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (23) Chapters Close

QlikView 11 for Developers
Credits
Foreword
About the Authors
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
1. Meet QlikView 2. Seeing is Believing FREE CHAPTER 3. Data Sources 4. Data Modeling 5. Styling Up 6. Building Dashboards 7. Scripting 8. Data Modeling Best Practices 9. Basic Data Transformation 10. Advanced Expressions 11. Set Analysis and Point In Time Reporting 12. Advanced Data Transformation 13. More on Visual Design and User Experience 14. Security Index

Managing file locations and connection strings


In our current example documents, we have always referred to the Data Files folder for our source data. If, for any reason, this folder has to be moved somewhere else, we will have to manually change the source data path in many locations in many files.

Let's follow these steps to create an included script file to set the source data folder in a single location:

  1. Open Notepad (by pressing Windows Key + R, typing in notepad, and pressing Return) or any other text editor.

  2. Enter the following script:

    SET vFolderSourceData = '..\Data Files\';
  3. Save the file to the same folder as your QlikView document and call it Config.qvs.

  4. Close Notepad and return to QlikView's script editor window.

  5. Go to the Include tab and place the cursor on the first line.

  6. Go to Insert | Include Statement and select the Config.qvs file.

We have now created an include file that sets the vFolderSourceData variable to the path of the source data folder.

Note

In a real QlikView environment...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image