Using ODI to pull data from IBM DB2
Has anybody used IBM DB2 as a data source for essbase using ODI ? If so, do you have any tips, pointers specific to this DB2 specific situation, or better yet reading resources aside from the DBAG ?
If you want to understand about the various knowledge modules and how to set up DB2 technology in ODI then have a read of :- http://download.oracle.com/docs/cd/E14571_01/integrate.1111/e12644/db2.htm#CHDBJIBH
Once you have extracted the source db2 data then you would just use the IKM SQL to essbase data with a load rule to load data into essbase, I have covered loading data to essbase in my blogs.
Cheers
John
http://john-goodwin.blogspot.com/
Similar Messages
-
How to use macro to pull data from custom infotype?
Hi all,
Is rp_provide_from_last p9004 space pn-begda pn-endda. works?
i am getting all zeros .
is using macros possible pull data from custom infotype? or only select?
Regards
sas
For LDB PNPCE
get peras:Hi,
Try the following Macro it will solve out your problem,
DEFINE rp_provide_from_last.
rp_found = '0'.
clear: rp_tabix.
loop at &1.
if &2 ne space.
check &1-subty eq &2.
endif.
if &1-begda le &4 and &1-endda ge &4.
rp_found = '1'.
exit.
endif.
if &1-begda le &4 and &1-endda ge &3.
rp_tabix = sy-tabix.
endif.
endloop.
if rp_found eq '0'.
if rp_tabix ne 0 .
rp_found = '1'.
read table &1 index rp_tabix.
else.
clear: &1.
endif.
endif.
END-OF-DEFINITION.
rp_provide_from_last <p????> space <begda> <endda>.
Best Regards,
Faisal -
Use ODI to Extract Data from Hyperion Planning & Budgeting report to Excel
Hello
Can someone tell me please how to Extract Data from (Financial Reporting in) Hyperion Planning & Budgeting into Excel Using ODI?
Would the steps be the same as Creating an ODI Project and Interface: Exporting a Flat File to a Flat File? If not, why?
Best Regards.
Edited by: Saturday on May 26, 2012 9:55 PMWhere do you think the financial reports get their data from? Financial Reports pull data from data sources such as Essbase, HFM.
Cheers
John
http://john-goodwin.blogspot.com/ -
Database.LoadDataSet() method is throwing error during retriving data from empty table of IBM DB2 database. It is giving error code "SQL0100W".
“Error Message: 0NO_DATA [02000] [IBM] [DB2 / NT] SQL0100W FETCH, whether there is a line to be UPDATE or DELETE, or of the query result is an empty table .
SQLSTATE = 02000”Hello SharayuPandit,
For issues regarding DB2, i suggest that you could post it to DB2 related forum:
https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000842
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How To Use OATS To Pull Data From DB And Insert Data Back To DB
Hi All,
My requirement is little different.
I'll explain the scenario,
I am working on OTM application, as far as I have read OAST supports OTM and already test scripts are ready.
My situation is as follows bellow,
I need to pull data of a field for 18,000 shipments.
I have an excel sheet in the format as bellow
Shipment_Number
Stop_Number
Planed_Arrival_Date
Planed_Departure_Date
1
1
1
2
1
3
2
1
2
2
I was able to write script in OATS so that it logins to OTM and searches for the specified shipment number and capture the Planed_Arrival_Date and Planed_Departure_Date for the specific stop.
But the problem is I am not able to save the date back to the excel.
Solution Expecting:
Some way to save the captured data back to excel.
Some way to save the captured data back to a column in a table. if this is possible then some way to make OATS reade the shipment number from a column in database.
Thanks,
Vishwamber ShettyHi Vishwamber,
Try using Datatable in OATS. Using datatable you can read and write to Excel.
Regards,
Deepu Muraleedharan -
Using AppleScript To Pull Data From Number & Create Calendar Events
Today I tried running an AppleScript that I created a few years back that works with Number ’09 [version 2.3 (554)]. The script collects information from the active numbers table and creats an event in my calendar for each row of data in the table. For some reason its not working with the current version of number.
Here is the script:
on run
set cr to ASCII character 13
set newline to return
local dName, sName, tName, rowCount, workingCalendar, maintenanceType
-- get general document information like document name, active sheet name, active table name & the number of rows in the active sheet
set {dName, sName, tName, rowCount} to my get_document_information()
-- get information needed to update a calendar in the calendar application like the calendar that needs to be updated and the type of maintenance that will be completed
set {workingCalendar, maintenanceType} to my get_calendar_update_information()
-- update calendar maintenance type so the computer can say it
if maintenanceType = "add" then
set maintenanceTypeChanged to maintenanceType & "ed"
set lastpartofsentence to "to calendar"
else if maintenanceType = "update" then
set maintenanceTypeChanged to maintenanceType & "d"
set lastpartofsentence to "in calendar"
else if maintenanceType = "delete" then
set maintenanceTypeChanged to maintenanceType & "d"
set lastpartofsentence to "from calendar"
end if
say "Events will be" & maintenanceTypeChanged & lastpartofsentence & workingCalendar
--determine if calendar already exists. If it does not create it
tell application "Calendar"
set allCalendarTitles to the title of every calendar
if allCalendarTitles contains workingCalendar then
--do nothing
else
create calendar with name workingCalendar
end if
end tell
set timedifferance to 4
-- get event information for each row in active table
say "table name is " & tName
repeat with rownumber from 1 to rowCount
tell application "Numbers" to tell row rownumber of tName to set {cell04, cell05, cell06, cell07, cell08, cell09, cell10} to {value of cell 4, value of cell 5, value of cell 6, value of cell 7, value of cell 8, value of cell 9, value of cell 10}
set cell07 to SearchReplace(cell07, "|", newline)
tell application "Calendar"
activate
if maintenanceType = "Delete" then
tell calendar workingCalendar to delete (first event whose summary contains cell04 and start date is equal to (cell05 + (timedifferance * hours)))
end if
if maintenanceType = "Update" then
tell calendar workingCalendar to delete (first event whose summary contains cell04 and start date is equal to (cell05 + (timedifferance * hours)))
tell calendar workingCalendar to set test to make new event at the beginning of events with properties {start date:cell05 + (timedifferance * hours), end date:cell06 + (timedifferance * hours), description:cell07, summary:cell04, location:cell10}
end if
if maintenanceType = "Add" then
tell calendar workingCalendar to set test to make new event at the beginning of events with properties {start date:cell05 + (timedifferance * hours), end date:cell06 + (timedifferance * hours), description:cell07, summary:cell04, location:cell10}
end if
end tell
end repeat
say "Events have been " & maintenanceTypeChanged
end run
on get_document_information()
-- Get general document information for later use
local d_name, s_name, selectedTable, t_name, row_count
tell application "Numbers" to tell document 1
-- get document name
set d_name to name
-- get sheet name
set s_name to name of active sheet
-- get table name
tell active sheet
set the selectedTable to (the first table whose class of selection range is range)
end tell
tell selectedTable
set t_name to name
set row_count to row count
end tell
return {d_name, s_name, t_name, row_count}
end tell
end get_document_information
on get_calendar_update_information()
local strCalendarToWorkWith, strMaintenanceType
tell application "Numbers"
activate
tell document 1 to tell sheet "General Information" to tell table "Table 1"
copy value of cell "C9" to strCalenderToWorkWith
copy value of cell "C12" to strMaintenanceType
end tell
return {strCalenderToWorkWith, strMaintenanceType}
end tell
end get_calendar_update_information
on SearchReplace(sourceStr, searchString, replaceString)
-- replace <searchString> with <replaceString> in <sourceStr>
-- return SearchReplace(theString, ".", "<PERIOD>")
set searchStr to (searchString as text)
set replaceStr to (replaceString as text)
set sourceStr to (sourceStr as text)
set saveDelims to AppleScript's text item delimiters
set AppleScript's text item delimiters to (searchString)
set theList to (every text item of sourceStr)
set AppleScript's text item delimiters to (replaceString)
set theString to theList as string
set AppleScript's text item delimiters to saveDelims
return theString
end SearchReplace
When running the script in the current version of Numbers [version 3.2 (1861)] I receive the following error message:
Here is what the table looks like:
Can anyone help me correct this error/issue?
Thank you,
BrianThe error ocurs right after it speaks the table name? The error is highlighting the suspect line in the first screenshot.
I think the "T" in the error is coming from the Table name, so try replacing the line in question with this mess
tell application "Numbers"
tell document 1
tell active sheet
tell table tName
set {cell04, cell05, cell06, cell07, cell08, cell09, cell10} to {value of cell 4, value of cell 5, value of cell 6, value of cell 7, value of cell 8, value of cell 9, value of cell 10}
end tell
end tell
end tell
end tell
NB original was
tell application "Numbers" to tell row rownumber of tName to set {cell04, cell05,cell06, cell07, cell08, cell09, cell10} to {value of cell 4, value of cell5, value of cell 6, value of cell 7, value of cell 8, value of cell 9,value of cell 10}
I don't know Numbers & Applescripting so you'll probably need to work on it some more, I gleaned the 'tell document & tell active sheet, tell table' from the script near the bottom.
http://www.macosxautomation.com/applescript/iwork/numbers/table-populate.html
It's a little unclear to me where the 'get document' info comes from, since you are not telling Numbers within that part. -
Migration Schema from IBM db2 to Oracle Database
Hi friends,
I want to migrate one schema data from ibm db2 9.1 to oracle 11g.
I tried this in windows machine using ibm control center and its working fine.
Now i want to do the same in IBM machinne.(OPERATING SYSTEM- "Z-OS"). So there is no graphical utility. I heared that using "CLP" tool, I can able to export the schema.
I dont the command to export a schema. Please help me to export a schema from IBM DB2.
Thanks in Advance.Hi friends,
I want to migrate one schema data from ibm db2 9.1 to oracle 11g.
I tried this in windows machine using ibm control center and its working fine.
Now i want to do the same in IBM machinne.(OPERATING SYSTEM- "Z-OS"). So there is no graphical utility. I heared that using "CLP" tool, I can able to export the schema.
I dont the command to export a schema. Please help me to export a schema from IBM DB2.
Thanks in Advance. -
One report to pull data from SQL or DB2
Hi Guys,
First post here. I have scoured the internet using our good friend google for answers and have come up empty. I hope someone can help me here!
Some Info: Crystal XI R2, Visual Studio 2005, Ms SQL Server 2005, DB2, VB.NET
What I am trying to accomplish is using one report to pull data from either SQL 2005 or DB2.
The problem I get is if the report is configured to pull data from SQL 2005, I cannot change it using the code below to pull data from DB2. The SQL Report uses the Microsoft OLEDB Provider. The DB2 report uses the IBM DB2 UDB for iSeries IBMDA400 OLEDB provider. When I quickwatch the oCRTable logon information, it seems to retain the other database's info.
Any ideas?
My code:
Private Sub LoadRpt(ByVal rpt As String)
Try
Dim strReport As String
Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim rpt As CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim oCRTable As CrystalDecisions.CrystalReports.Engine.Table
Dim oCRConnectionInfo As New CrystalDecisions.Shared.ConnectionInfo()
strRptNm = String.Format(".rpt", rpt )
strReport = String.Format("\{1}", Server.MapPath("Reports"), rpt )
crReportDocument.Load(rpr)
' check to make sure report is loaded; if not, then do nothing
If crReportDocument.IsLoaded Then
oCRConnectionInfo.DatabaseName = ConfigurationManager.AppSettings.Item("DataBase")
oCRConnectionInfo.ServerName = ConfigurationManager.AppSettings.Item("Server")
oCRConnectionInfo.UserID = ConfigurationManager.AppSettings.Item("Profile")
oCRConnectionInfo.Password = ConfigurationManager.AppSettings.Item("Password")
For Each oCRTable In crReportDocument.Database.Tables
oCRTable.LogOnInfo.ConnectionInfo = oCRConnectionInfo
oCRTable.ApplyLogOnInfo(oCRTable.LogOnInfo)
oCRTable.Location = oCRTable.Location
Next
For Each rpt In crReportDocument.Subreports()
For Each oCRTable In rpt.Database.Tables
oCRTable.LogOnInfo.ConnectionInfo = oCRConnectionInfo
oCRTable.ApplyLogOnInfo(oCRTable.LogOnInfo)
oCRTable.Location = oCRTable.Location
Next
Next
... other code ...
End If
Catch ex As Exception
... other code ...
End Try
End Sub
Edited by: Mace Windu on Feb 7, 2009 7:55 AM
Edited by: Mace Windu on Feb 7, 2009 7:56 AMDavid,
Your suggestion worked to near perfection. The only problem was that if I configured the datasource locations of the report and sub reports in CR to use the SQL ODBC, the .net program would successfully log in using the DB2 info but had a problem reading the data. If I configured the datasource locations of the report and subreports in CR to use the DB2 ODBC, everything worked! Thanks for the advice.
The force is strong with you.
Mace -
Date Migration from IBM DB2/400 V4R3M0 to Oracle 11.2G
Dear ALL<
We have a requirement for Date Migration from IBM DB2/400 V4R3M0 to Oracle 11.2g. Can you guys please share your experiences with similar activities done in the past ? We do not have environment at present to try out with Oracle Migration workbench.
http://www.oracle.com/technetwork/topics/index-095746.html
You experiece sharing will really help ...!!
Regards,
VKMP
Edited by: 909016 on Jan 31, 2013 5:52 AMHi VKMP,
As well as reading the documentation thoroughly the following note available in My Oracle Support may be useful -
Problem To Migrate Table With Table Type P From DB/AS400 With OMWB (Doc ID 466271.1)
as OMWB does not support migrating physical files.
Regards,
Mike -
Automated process to pull data from a web page without using VS and PS.
Hello,
I'm looking at finding a solution to pull data from an external web page and creating a list. I'm looking for a NON-POWERSHELL AND NON-VISUAL STUDIO solution. I am open to using InfoPath Designer.
There exists a custom, non-SharePoint page built for us which has raw data. We've already created a custom list to match the data and now need to come up with a solution to automatically update the data. In this particular scenario, power shell and visual
studio cannot be used.
Thanks in advance.Why would you cripple yourself and restrict PowerShell at the very least which has perfect functionality for doing exactly that.
I doubt you could use the InfoPath data sources to pull the raw data in, re-map it and save to SharePoint without resorting to some sort of coding within InfoPath.
Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times. -
Using ABAP DATA FLOW to pull data from APO tables
I am trying to use an ABAP Data flow to pull data from APO and receive error 150301. I can do a direct table pull and receive no error, but when I try to put it in an ABAP data data flow I get the issue. Any help would be great.
Hi
I know you "closed" this, however someone else might read it so I'll add that when you use an ABAP dataflow, logic can be pushed to ECC - table joins, filters, etc. (Which can be seen in the generated ABAP).
Michael -
Newbie questions regarding pulling data from hyperion planning cube w/OBIEE
Hello there,
we've recently implemented Essbase and are currently pumping it full of revenue/expense data from out source systems to calculate NOI. This data is stored in a staging table at the detail level where it is sourced into Hyperion and aggregated. We also have OBIEE 10g (plan to upgrade to 11g later this year) and we would like to connect to and report out of Essase. Our ultimate goal is to be able to report on the NOI numbers in the planning cube but have the ability to drill down to the detail level which is not stored in Essbase. We've heard it is possible, albeit not native for OBIEE 10g to do this. We've also heard that it is not best practice to use our transactional cube for this type of reporting but to actually create a second "reporting cube".
What are best practices for getting this NOI data out of Hyperion and merging it with our relational detail reporting? Can we somehow export the data from the cube and store it in a relational database? Should we clone the cube (if even possible) and configure both it and our relational source in the BI repository and setup all drill-throughs there?
Any info is GREATLY appreciated. Thank you.
Edited by: cisGuy on Sep 20, 2010 5:31 PMi have found information on how to use ODI to extract data for the cube. What I'm really trying to find out though is best practices for reporting off summary level data in Essbase with the ability to drill-through to the detail.
We've heard reporting off the same cube that users are writing back and transacting on is bad. Do we need to make a "reporting cube" and then bring that in OBIEE and merge it with a relational source or is it better to extract the data from Essbase into flat files and join it to detail tables in our relational source? -
Pulling data from table to a flat file
hi all,
Good day to all,
Is there any script which i can use for pulling data from tables to a flat file and then import that data to other DB's. Usage of db link is restricted. The db version is 10.2.0.4.
thanks,
baskar.lIs there any script which i can use for pulling data from tables to a flat file and then import that data to other DB'sFlat file is adequate only from VARCHAR2, NUMBER, & DATA datatypes.
Other datatypes present a challenge within text file.
A more robust solution is to use export/import to move data between Oracle DBs. -
Unable to connect to the server to pull data from mysql
Hello,
I am novice working with Flash Builder 4 and I just created a test application which runs well in my computer pulling data from Mysql using PHP and populating a datagrid. But when I transfered it to the my hosting provider failed. I have been doing some modifications to the gateway.php and amf.config.ini to solve some of the issues. Now the application try to run but doesn't populate the data in the datagrid. I included a tracking point in my data service file to read the connections variables, but they come up in blank. I highly appreciate any help. Here are my gateway.php, amf.config.ini and the data service.
gateway.php
<?php
ini_set("display_errors", 1);
$dir = dirname(__FILE__);
$webroot = $_SERVER['DOCUMENT_ROOT'];
$configfile = "$dir/amf_config.ini";
$fp = fopen("tracking.txt", "a");
fwrite($fp, "1-config file " . $configfile . "\r\n");
//default zend install directory
$zenddir = $webroot. '/ZendFramework/library';
//-$zenddir = $webroot;
fwrite($fp, "2-default zendir" . $zenddir . "\r\n");
//Load ini file and locate zend directory
if(file_exists($configfile)) {
$arr=parse_ini_file($configfile,true);
if(isset($arr['zend']['webroot'])){
$webroot = $arr['zend']['webroot'];
$zenddir = $webroot. '/ZendFramework/library';
if(isset($arr['zend']['zend_path'])){
$zenddir = $arr['zend']['zend_path'];
fwrite($fp, "3-after zendir" . $zenddir . "\r\n");
// Setup include path
//add zend directory to include path
set_include_path(get_include_path().PATH_SEPARATOR.$zenddir);
// Initialize Zend Framework loader
require_once 'Zend/Loader/Autoloader.php';
//-require_once 'Autoloader.php';
Zend_Loader_Autoloader::getInstance();
// Load configuration
$default_config = new Zend_Config(array("production" => false), true);
$default_config->merge(new Zend_Config_Ini($configfile, 'zendamf'));
$default_config->setReadOnly();
$amf = $default_config->amf;
fwrite($fp, "4- configfile" . $dafault_config["production"] . "\r\n");
// Store configuration in the registry
Zend_Registry::set("amf-config", $amf);
// Initialize AMF Server
$server = new Zend_Amf_Server();
$server->setProduction($amf->production);
if(isset($amf->directories)) {
$dirs = $amf->directories->toArray();
foreach($dirs as $dir) {
// get the first character of the path.
// If it does not start with slash then it implies that the path is relative to webroot. Else it will be treated as absolute path
$length = strlen($dir);
$firstChar = $dir;
if($length >= 1)
$firstChar = $dir[0];
if($firstChar != "/"){
// if the directory is ./ path then we add the webroot only.
if($dir == "./"){
$server->addDirectory($webroot);
}else{
$tempPath = $webroot . "/" . $dir;
$server->addDirectory($tempPath);
}else{
$server->addDirectory($dir);
fwrite($fp, "5-temp path" . $tempPath . "=>" . "\r\n");
fwrite($fp, "******************************************" . "\r\n");
// Initialize introspector for non-production
if(!$amf->production) {
$server->setClass('Zend_Amf_Adobe_Introspector', '', array("config" => $default_config, "server" => $server));
$server->setClass('Zend_Amf_Adobe_DbInspector', '', array("config" => $default_config, "server" => $server));
// Handle request
echo $server->handle();
?>
amf.config.ini
[zend]
;set the absolute location path of webroot directory, example:
;Windows: C:\apache\www
;MAC/UNIX: /user/apache/www
;-webroot =c:/wamp/www/
webroot = /home/frutiexp/public_html
;set the absolute location path of zend installation directory, example:
;Windows: C:\apache\PHPFrameworks\ZendFramework
;MAC/UNIX: /user/apache/PHPFrameworks/ZendFramework
;zend_path = /home/frutiexp/public_html/ZendFramework
[zendamf]
amf.production = true
amf.directories[]=fb41/services
;amf.directories[]=./
CoursesService.php
<?php
* README for sample service
* This generated sample service contains functions that illustrate typical service operations.
* Use these functions as a starting point for creating your own service implementation. Modify the
* function signatures, references to the database, and implementation according to your needs.
* Delete the functions that you do not use.
* Save your changes and return to Flash Builder. In Flash Builder Data/Services View, refresh
* the service. Then drag service operations onto user interface components in Design View. For
* example, drag the getAllItems() operation onto a DataGrid.
* This code is for prototyping only.
* Authenticate the user prior to allowing them to call these methods. You can find more
* information at <link>
class CoursesService {
var $username = "myusername";
var $password = "mypassword"
var $server = "localhost";
var $port = "3306";
var $databasename = "frutiexp_trainsur";
var $tablename = "courses";
var $connection;
* The constructor initializes the connection to database. Everytime a request is
* received by Zend AMF, an instance of the service class is created and then the
* requested method is invoked.
public function __construct() {
$this->connection = mysqli_connect(
$this->server,
$this->username,
$this->password,
$this->databasename,
$this->port
$fp = fopen("./tracking.txt", "a");
fwrite($fp, "1-service". $databasename . " " . $username . "\r\n");
fclose($fp);
$this->throwExceptionOnError($this->connection);
* Returns all the rows from the table.
* Add authroization or any logical checks for secure access to your data
* @return array
public function getAllCourses() {
$stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename");
$this->throwExceptionOnError();
mysqli_stmt_execute($stmt);
$this->throwExceptionOnError();
$rows = array();
mysqli_stmt_bind_result($stmt, $row->cou_id, $row->cou_title, $row->cou_overview, $row->cou_objectives);
while (mysqli_stmt_fetch($stmt)) {
$rows[] = $row;
$row = new stdClass();
mysqli_stmt_bind_result($stmt, $row->cou_id, $row->cou_title, $row->cou_overview, $row->cou_objectives);
mysqli_stmt_free_result($stmt);
mysqli_close($this->connection);
return $rows;
* Returns the item corresponding to the value specified for the primary key.
* Add authroization or any logical checks for secure access to your data
* @return stdClassHello Jdesko,
Thank you for you prompt response. Yes, I have changed the connections variables in my dataservice ( I didn't post real values). You are right, after all I didn't make changes on the gateway.php except to add some tracking points. The one that I changed is the amf.config,ini. The application runs without any error exceptions, but don't populate the datagrid. According with the tracing is stoping just when establishing the connection to the database. Please let me know if you have any other clue. thanks -
Pull data from a table in HTML format from external URL into a Servlet
How do I pull data from existing website html table into a Servlet?
I will need to pull the data into a servlet. So, the servelet will need to go to the URL and get the data and save them as variables.
I know I will need an array to store the data. I just dont know how to call the URL and have the servelet search the site for the <table> </table>.
I will later use this to save to a database.
Thanks
Edited by: DJMegabit on Apr 14, 2010 7:36 PMMaybe give us more details about what exactly You'd like to achieve. I guess that there might be better solutions to the problem.
Maybe you are looking for
-
Hi all, I have one process chain where Sales items, sales header, billing items, billing headers, delivery item and delivery header all go into 6 ODS objects correspondingly. All these processes raise an event and this is checked by an AND process.
-
Oracle 9i to Sql server 2008 R2 migration
Hi, We are having oracle 9i as database and migrating to sql server 2008. Our oracle 9i database connects to another oracle databases and these databases are having different oracle version(9.2.0.8.0, 9.2.0.7.0,10.2.0.5.0,11.2.0.2.0,9.2.0.6.0,10.2.0.
-
What is wrong with the app store and how long before its fixed, im downloading atna very slow pash and i have a 10mb uncontested line.
-
I have to develop few reports. Most of the reports are like bar chart with count on Y axis (Vertical) and month of X axis(Horizontal). The report is very simple. Can some one please help me to understand if I should develop the report in Crystal or
-
Hello, i have a detail block with column checkbox , date, voucher ,narration , amount total now i want to count the record which i check,, i use counter in summary , it count the check box,, but when i uncheck it the counted value remain same how can