Webfocus Basics Tutorial
Webfocus Basics Tutorial
com on Webfoucs basics This is the very first tutorial You defenitely can expect much more very sooooon.. Is It !!!!!!!!! Thats definitely a Great news Am Eager to go through. Happieeee Happieeeee
Webfocus Basics
http://www.ramkumarn.com
Hmmm So What is BI ?
BI is an art of making your customers to do better, than they do themselves. - Activities include decision making support, query and reporting, online analytical processing, statistical analysis, forecasting, and data mining. Need of BI Database Compatibility Scalability Adhoc Reporting Presentation Format OLAP Support Integration with existing Web-applications Security
http://www.ramkumarn.com
http://www.ramkumarn.com
Webfocus Anatomy
Nothing Nothing Jus to say following are the organs of Webfocus The Webfocus server and Client are like heart and Lungs of Webfocus architecture
Internet Explorer Web Server WebFocus Client WebFocus Reporting Server Report Caster Distribution Server Scheduler Component Managed Reporting Environment Business Intelligence Dashboard Resource Analyzer & Governor
http://www.ramkumarn.com
http://www.ramkumarn.com
http://www.ramkumarn.com
A heads up Do I need to know the Syntax of all FEX stuff? The answer is definitely NOT Then ??? Practice with Developer Studio on various reporting options and GUIs You will be given with the FEX code, generated as code behind. Yipeeee So Just the Drag and Drop stuff.. Aha ? Am HappppieeeeThanks Buddy Hellaoo Wait Wait But understanding the FOCUS reporting language helps to realize what is going on behind the scenes.
http://www.ramkumarn.com
Overall Structure of a TABLE Request Anyways many of them are optional But are needed often
TABLE FILE data_source [ print_phrase ] [ sort_phrase ] [ filter_phrase ] [ output_section ] [ styling_section ] END http://www.ramkumarn.com
data_source
Specifies the name of the configured synonym, which will be used as the data source for the report.
Example
TABLE FILE CAR (use CAR synonym as the data source) print_phrase
Specifies the fields from the data source to be printed within the report. Similar to the SQL SELECT statement.
PRINT
http://www.ramkumarn.com
TABLE FILE CAR SUM SALES AS Total AVE RETAIL_COST MAX DEALER_COST END
sort_phrase
http://www.ramkumarn.com
ACROSS
TABLE FILE CAR SUM SALES ACROSS CAR AS '' ACROSS MODEL AS '' BY COUNTRY END
SUBHEAD
TABLE FILE CAR SUM SALES ACROSS CAR AS '' ACROSS MODEL AS '' BY COUNTRY NOPRINT SUBHEAD "<COUNTRY" END
http://www.ramkumarn.com
filter_phrase
http://www.ramkumarn.com
output_section
http://www.ramkumarn.com
styling_section
Specifies the formatting options (fonts, colors, etc.) for the report elements.
Syntax ON TABLE SET STYLESHEET * TYPE=type, [COLUMN=column_name], property=value,[property=value,]...$ [TYPE=type, [COLUMN=column_name], property=value, [property=value,]...$] ENDSTYLE
where type may be REPORT, DATA, TITLE, TABHEADING, etc. The most common format properties include COLOR, SIZE, FONT, BACKCOLOR, JUSTIFY, etc.
http://www.ramkumarn.com
http://www.ramkumarn.com
Heads Up Well What Next ? HTML Coding is an inseparable part of any Reporting Language Do you accept that? Yes.. So How to get that done ? Just Move on.
-HTMLFORM BEGIN <html> <body> Hello world!! </body> </html> -HTMLFORM END
Produces the output: Hello World!!
Snippet It is possible for you to do all the stuff in Webfocus, that you can do in HTML and JavaScript. Starting from including <input> elements to create a dynamically embedded <div> tag, everything can be done. Using this you can create user friendly and Parameterized reports and rich user front ends
Hey Thats enough with the Fex stuff Ok But Try to text view the code for any report that you develop with Dev Studio So that you will get to know the Syntax.. Sure Sure Will do that Then, What are the different Types of Reports that can be developed with Webfocus?
Here It Goes
Parameter-driven Reports Graphical Reports Compound Reports Financial Reports Excel Reports Free-Form Reports Drill-down Reports
http://www.ramkumarn.com