Date Track Tables

Hello Friends,
I am writing a SQL Query to display data from per_all_people_f and ben_prtt_enrt_rslt_f and i am joining these tables by person_id.
I am getting the result, the problem is that I am getting multiple records for same person_id. I know that it is because of date tracked tables.
But how to avoid that, so that i can populate latest information only.
I dont have _x tables. I even tried
effective_start_date<=sysdate and
effective_end_ate>=sysdate.
Still no use.
Please help!

Add the following to the where clause:
per_all_people_f papf
ben_prtt_enrt_rslt_f bper
where sysdate between papf.effective_Start_date and papf.effective_end_date
and sysdate between bper.effective_Start_date and bper.effective_end_date
and papf.person_id = bper.person_id
and papf.person_type_id = 'XX' where XX is the person_type_id from table per_person_types where user_person_type = 'Employee'
you might also want to pull in the assignments table, so you can validate the EE records.
Thanks, Naveen.

Similar Messages

  • Date tracking in Oracle HRMS

    Hello,
    in PER_ALL_ASSIGNMENTS_F AND PER_ALL_PEOPLE_F and other data tracked tables, is there any way to find out when a new record is going to be inserted and when an existing record is updated? For example when a job of a person is changed, a new assignment record is added. Similarly at what circumstances these date tracked tables are changed? Is there any document to find out a way to figure out?
    Thanks a lot in advance.
    --Kumar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    If I understand you correctly ypu want some npiece of code which does this checking for you and takes proper action.
    There is a specific api DT_API which helps you do that.
    I am posting a piece of code from that API (Spec from 11.5.10 instance)
    dt_api.find_dt_upd_modes_and_dates
    (  p_effective_date                in     date
      ,p_base_table_name               in     varchar2
      ,p_base_key_column               in     varchar2
      ,p_base_key_value                in     number
      ,p_correction                       out nocopy boolean
      ,p_update                           out nocopy boolean
      ,p_update_override                  out nocopy boolean
      ,p_update_change_insert             out nocopy boolean
      ,p_correction_start_date            out nocopy date
      ,p_correction_end_date              out nocopy date
      ,p_update_start_date                out nocopy date
      ,p_update_end_date                  out nocopy date
      ,p_override_start_date              out nocopy date
      ,p_override_end_date                out nocopy date
      ,p_upd_chg_start_date                out nocopy date
      ,p_upd_chg_end_date                  out nocopy date
      )Now there are numerous boolean variables and based on their values the action gets decoded.
    For example if you want to check for a record started on 01-JAn-2012 and you want to check what will be mode on 01-SEP-2012 then
    p_effective_date := '01-SEP-2012'
    p_base_table_name := 'PER_ALL_PEOPLE_F'
    p_base_key_column := 'PERSON_ID'
    p_base_key_value := 1234
    where 1234 is value of person_id.
    IF ( p_update_override = TRUE OR p_update_change_insert = TRUE )
        THEN
            -- UPDATE_OVERRIDE
            gc_dt_ud_mode := gc_upd_override; -- UPDATE OVERRIDE
        END IF;
        IF (p_correction = TRUE )
        THEN
            -- CORRECTION
            gc_dt_ud_mode := gc_correction; -- Correction
        END IF;
        IF (p_update = TRUE )
        THEN
            -- UPDATE
            gc_dt_ud_mode := gc_update; -- UPDATE
        END IF;

  • Date Track history tables in Oracle HRMS & Discoverer

    Hello experts,
    I will be glad if anyone can help thru. I am trying to develop the DIS report for Audit purpose that tracks all the changes entered by Data Entry clerks, regardless of effective date. Mainly from Person Form and Assignment Form.
    Is there anyway I can include the exact date/time the change made/status updated. Is the 'Effective date' clue?
    e.g. There is an Assignment Change - from 'Global Operations' organization to 'Domestic Application' organization. The change is suppose to be effective from 05/02/2011 but I am entering the action on 04/18/2011. Similar for past events - if I make date tracked Assignment change suppose to be effective from 04/04/2011.
    How can I accommodate this in a report. I just have EUL rights of Discoverer10g. (Oracle R12)
    Thanks a lot.

    Hello
    The effective date is used for date tracking, but not to determine when a change was made. To determine when a change was made you need to look at the date last updated. Bear in mind though that only tables which can be updated have this field. If a table is only used for inserts then you will not find this field.
    The effective dates are used to tie records in different tables together. Some tables have just an effective date, some have an effective start and an effective end, while others have a FROM date and a TO date. All of these can be used together to determine the state of play as it was at a certain point in time. The current records can have their effective dates compared to SYSDATE like this:
    EFFECTIVE_START_DATE <= SYSDATE and EFFECTIVE_END_DATE >= SYSDATE
    Records from one table can be tied to records in another to ensure for example that an assignment is tied correctly back to the right person record. In this case you would need to make sure that the effective date on the assignment is greater than or equal to the effective start date of the PERSON and less than or equal to the effective end date.
    Date last updated will be used to determine exactly when a record was updated. Sometimes a date last updated will pre-date an effective date when companies enter records in advance of when they will be active. For example, in payroll where it is very common to enter new salaries many weeks in advance or in your situation where a change is supposed to be effective from 05/02/2011 but is entered on 04/18/2011. In this case the date last updated will say 04/18/2011 and the effective date or effective start date, depending which is in use, will have 05/02.2011. The effective date, effective start date and date from should never change and should always reflect a record's effectiveness, regardless of many times the record gets updated. The effective end and from dates will be updated to a real date a new record is added and sometimes these will be NULL so you have to take that into account too.
    Data warehouses will generally load data based on the date last updated so that, for example, all records updated in the last 24 hours can be selected.
    Hope this helps
    Michael

  • Vertical tables and date tracked fields

    We are in process of remodeling our database. We will have true 3rd normal form tables with vertical structure and date tracked fields among many other changes. I'm interested in Toplink's support capability.
    We are evaluating using stored procedures to do CRUD operations and use toplink to do only reads. Has anyone used toplink in this type of database model and how is it implemented?
    Thanks

    Sure. Having your database in 3rd normal form will only make your object model more consistent and more efficient to modify.
    TopLink has great stored procedure support and also performs very favourably on reads, so it serves this kind of model quite well. The caveat is that TopLink tends to cache fairly agressively be default. If you are doing writes outside of TopLink then you will need to determine a strategy for refreshing cached objects that may have changed in the db. TopLink does provide a number of ways that you can use to do that, including cache eviction policies, implicit and explicit refreshing, and cache hit disabling when necessary.

  • How to know who has created a particular record in the data base table

    Hi All...
    Can any one tell me how to track the information about who has entered the records in to the data base table....
    Thanks in advance...

    You could check the Created By and Created On fields if your tables contains these fields.
    OR
    You could check the table DBTABLOG if table logging is enabled for the table
    OR
    You could check the Change document tables CDHDR and CDPOS.
    -Kiran
    Please mark useful answers

  • OBIEE 11G - Usage Tracking - Table S_NQ_DB_ACCT

    Hi
    I successfully set up usage tracking in Obiee 11 and the table S_NQ_ACCT gets a lot of new records. Basically it's working.
    In the nqserver.log I get some errors concerning a new table S_NQ_DB_ACCT:
    [nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
    at OCI call OCIStmtExecute: INSERT INTO S_NQ_DB_ACCT (ID,LOGICAL_QUERY_ID,QUERY_TEXT,QUERY_BLOB,TIME_SEC,ROW_COUNT,START_TS,START_DT,START_HOUR_MIN,END_TS,END_DT,END_HOUR_MIN) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12).
    This is an additional Usage Tracking Table which didn't exist in OBIEE 10G.
    I configured the table as S_NQ_ACCT in the same place in the repositry/connection pool. Writing to this table should be possible.
    Does anybody has an idea what could be wrong? Does another user fill data to this table than the user which fills data to S_NQ_ACCT?
    Thank you

    Hi
    Thank you.
    I use the table within the default RCU created schema. What I don't understand ist why the table S_NQ_ACCT gets a lot of records (because I set the loglevel) but S_NQ_DB_ACCT keeps empty with the error in the nqserver.log. I mean if one table works then the other should be working too? I checked also the permissions which are the same for both tables.
    [2012-06-04T15:14:39.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 7d4f9e9d968c0bfe:-39c197c9:13773b9d89f:-8000-000000000005c768] [tid: 18e0] [nQSError: 17011] SQL statement execution failed. [[
    [nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
    at OCI call OCIStmtExecute: INSERT INTO S_NQ_DB_ACCT (ID,LOGICAL_QUERY_ID,QUERY_TEXT,QUERY_BLOB,TIME_SEC,ROW_COUNT,START_TS,START_DT,START_HOUR_MIN,END_TS,END_DT,END_HOUR_MIN) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12).
    ]]

  • Date Track fields - changes

    I have a question regarding the date tracked fields in HRMS.
    If I want to know what changes are made for a person record, How do I know that?
    The changes may be anything like position, salary, job, grade, marital status.
    How can I know the old value and the new value after the change?

    if you are modifying any assignment record an additional record will be created in the table per_all_assignments_f for the same assignment id.
    Example if the assignment is updated 3 times you can see 3 records created for the same assignment
    Thanks
    Regards
    Ramesh Kumar S

  • WCF-SQL notification and SQL Change Data Tracking - incompatible?

    Hi,
    I have a DB with Change Data Tracking enabled on a particular table. Each time an Update/Insert is made on this table, I'm able to check what need to be synchronised with other systems by using the CHANGETABLE function of SQL Server.
    And I want to use it with a Receive location WCF-SQL with inboundOperationType=Notification. So each time a modification is made on the table, I have a notification and I'm able to retrieve the updated/inserted records.
    Unfortunately, it seems that using the CHANGETABLE is not supported in the NotificationStatement, I got the following error: "The notification callback returned an error. Info=Invalid. Source=Statement. Type=Subscribe.".
    Any ideas to workaround?
    Thanks.

    Hi Johns-305,
    Thank you for your response.
    I'm not totally agreed with you about the notification because it depends on the situation.
    In my case, I have a table in a remote SQL database where data are not changing often. But I want to retrieve the changes as fast as I can because it needs to be synchronised with a MDM. 
    The notification is great for me because I get a notification message just after a change and I can synchronise it. Of course, if my receive location is down I can't receive the notification but with the mechanism described in the MSDN article you pointed,
    I can get the changes I missed during the outage.
    And now I have a solution to use the notification and the Data Change tracking: I use a regular SELECT statement in the notification statement (SELECT <columns> FROM MYTABLE). If something changes in the table, I got a notification and then I send
    a SELECT FROM CHANGETABLE(MYTABLE, ...) and I store the number of the last modification I got. So I can retrieve only the changes that occurs since my previous call.

  • T5SSCXSSSERVICES - Set Data Tracking for Individual Self-Services

    Hi,
    We have a requirement for BI Report to fetch data from table :T5SSCXSSSERVICES
    The above table could be filled with data when we perform any activities in ESS and MSS.
    I wanted to know what are all required configuration to get data in to the table T5SSCXSSSERVICES
    I understand below mentioned configuration are required:
    IMG Node 1: Activate Data Tracking for All Self-Services
    IMG Node2: Set Data Tracking for Individual Self-Services
    Is it required to activate Business FunctionS et - HR Administartive Servcices?
    Guide me with more inputs,
    Regards
    Ramanathan

    Hi Ramanathan,
    I am facing the same doubt now, are you able to share your experience on how to populate  T5SSCXSSSERVICES ? Appreciate that, and thank you in advance.
    Regards
    Kir Chern

  • Data Tracking

    I found out there is a great possibility to keep the history of changes to data in tables, using version-enabled tables with Workspace Manager. However; we have been suggested to use date tracking logic incorporated in the EBS HR modules.
    What is the difference between the two ? Is one way better then the other ? Has someone experience using one of the two and tell me about the pros and the cons of the solution?
    Thanks,
    Bart

    I'm not familiar with any change logics of EBS, but as always if it's built in (and known, tried, etc) you should compare the cost of using that and the cost of building, maintaining and supporting your own Workspace objects to do the same thing. Also, does EBS has the capabilities you need and want?
    More on OWM
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14253/long_prtusage.htm

  • Accrual plan  and accrual band ... can it be date tracked

    Is there a way we can date track accrual bands on the accrual plan.
    The client want the new accrual band be effective as of 01-apr-2011. Can we date track the accrual bands.
    If not what is the best way to make such a change. Accrual formula change is the only way I can think of. Any other suggestions?
    Thank you,
    Aakash
    Edited by: Aakash Gupta on Mar 22, 2011 9:05 AM

    Accrual bands are not date-tracked, no.
    I steer clear of Accrual Bands altogether because it forces you to create separate Accrual Plans for each sets of T&Cs, which I don't like. Instead what I do is:
    * Model the accrual bands in a custom User Defined Table (range-based)
    * Use the column as something that determines various T&Cs, eg, Grade
    * Use the Rows to define each Accrual Band for each set of T&Cs, which the Value being the amount of holiday
    I then use the GET_TABLE_VALUE Fast Formula function to retrieve the value according to the employee's T&Cs.
    Importantly, User Defined Tables are of course date-tracked as well.

  • How to save history change data on table

    Hi all
    I'm using Oracle Database 11g
    Data of tables often is changed. I want to save history person changed it.
    Anybody help me!
    Thankyou
    Thiensu2810

    Hi
    you can use
    flashback data archieve
    CREATE FLASHBACK ARCHIVE DEFAULT test_archive1
    TABLESPACE example
    QUOTA 1 M
    RETENTION 1 DAY;
    CREATE FLASHBACK ARCHIVE test_archive2
    TABLESPACE example
    QUOTA 1 M
    RETENTION 1 DAY;
    The next statement alters the default flashback data archive to extend the retention period to 1 month:
    ALTER FLASHBACK ARCHIVE test_archive1
    MODIFY RETENTION 1 MONTH;
    The next statement specifies tracking for the oe.customers table. The flashback data archive is not specified, so data will be archived in the default flashback data archive, test_archive1:
    ALTER TABLE oe.customers
    FLASHBACK ARCHIVE;
    The next statement specifies tracking for the oe.orders table. In this case, data will be archived in the specified flashback data archive, test_archive2:
    ALTER TABLE oe.orders
    FLASHBACK ARCHIVE test_archive2;
    The next statement drops test_archive2 flashback data archive:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5009.htm#SQLRF20008
    hope this helps
    Zekeriya

  • Create a trigger to copy data from table A to table B

    Hi,
    I been trying with no success to create a trigger on table a , so when the user update or delete or insert data on that table, I would like to copy all data from table a to table b BEFORE, the statement execute, I am using Oracle database 10g XE. It's URGENT and I would appreciate any quick response.
    Thank you in advance.

    > All what I needed to do is to copy / beckup the tableA before any changes done to the table
    Why? You are not giving us a problem to look at, analyse, and assist with - you are giving us a solution. That solution says "backup table before changes are made".
    This solution sounds very strange in the context of a RDBMS. Even stranger when dealing with relational design as one would use date and time to keep track of how data is changing.
    This, and your implementation of the solution (using triggers and DDL inside it!), makes me question whether this solution is indeed at all a solution. I see flaws and problems all the way.
    What happens if two users inserts at the same time into table A? Two truncates will be fired on table B. Then the entire contents of A (and not the changes) inserted into table B? Ridiculous...
    Thus from my point of view, looking at what you have presented to the forum in this thread, you do not seem to have any grasp on how to correctly use a RDBMS, never mind use Oracle.
    Ignorance is not a problem. It is fairly easily curable. Which is why I referred you to the manuals.
    Alternatively, instead of asking the forum how to make a flawed solution works, how about instead telling us the actual problem you are trying to solve?

  • [59053] Usage Tracking stopped because the specified Usage Tracking table

    Immideatly after server startup, I am gettting this log in the NQServer.log.
    [59053] Usage Tracking stopped because the specified Usage Tracking table contained the wrong number of columns or a column with an inappropriate data type.
    Any idea how I can find out which table needs update?
    Thanks
    -SJ
    Here are the details of hte tables I have in the Usage tracking schema :
    CREATE TABLE "RMI"."S_NQ_ACCT"
    (     "USER_NAME" VARCHAR2(128 BYTE),
         "REPOSITORY_NAME" VARCHAR2(128 BYTE),
         "SUBJECT_AREA_NAME" VARCHAR2(128 BYTE),
         "NODE_ID" VARCHAR2(15 BYTE),
         "START_TS" TIMESTAMP (6),
         "START_DT" TIMESTAMP (6),
         "START_HOUR_MIN" CHAR(5 BYTE),
         "END_TS" TIMESTAMP (6),
         "END_DT" TIMESTAMP (6),
         "END_HOUR_MIN" CHAR(5 BYTE),
         "QUERY_TEXT" VARCHAR2(1024 BYTE),
         "SUCCESS_FLG" NUMBER(10,0),
         "ROW_COUNT" NUMBER(10,0),
         "TOTAL_TIME_SEC" NUMBER(10,0),
         "COMPILE_TIME_SEC" NUMBER(10,0),
         "NUM_DB_QUERY" NUMBER(10,0),
         "CUM_DB_TIME_SEC" NUMBER(10,0),
         "CUM_NUM_DB_ROW" NUMBER(10,0),
         "CACHE_IND_FLG" CHAR(1 BYTE) DEFAULT 'N' NOT NULL ENABLE,
         "QUERY_SRC_CD" VARCHAR2(30 BYTE) DEFAULT '',
         "SAW_SRC_PATH" VARCHAR2(250 BYTE) DEFAULT '',
         "SAW_DASHBOARD" VARCHAR2(150 BYTE) DEFAULT '',
         "SAW_DASHBOARD_PG" VARCHAR2(150 BYTE) DEFAULT '',
         "PRESENTATION_NAME" VARCHAR2(128 BYTE) DEFAULT '',
         "ERROR_TEXT" VARCHAR2(250 BYTE) DEFAULT '',
         "RUNAS_USER_NAME" VARCHAR2(128 BYTE) DEFAULT '',
         "NUM_CACHE_INSERTED" NUMBER(10,0) DEFAULT NULL,
         "NUM_CACHE_HITS" NUMBER(10,0) DEFAULT NULL
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "RMI_DATA" ;
    CREATE INDEX "RMI"."S_NQ_ACCT_M1" ON "RMI"."S_NQ_ACCT" ("START_DT", "START_HOUR_MIN", "USER_NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "RMI_DATA" ;
    CREATE INDEX "RMI"."S_NQ_ACCT_M2" ON "RMI"."S_NQ_ACCT" ("START_HOUR_MIN", "USER_NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "RMI_DATA" ;
    CREATE INDEX "RMI"."S_NQ_ACCT_M3" ON "RMI"."S_NQ_ACCT" ("USER_NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "RMI_DATA" ;
    CREATE OR REPLACE FORCE VIEW "RMI"."NQ_LOGIN_GROUP" ("LOGIN", "RESP") AS
    Select DISTINCT USER_NAME as "LOGIN", RUNAS_USER_NAME as RESP From S_NQ_ACCT
    Edited by: SachinJ on Aug 3, 2009 7:54 AM

    Compare the S_NQ_ACCT table you created with the table structure defined in the rpd under the physical layer database object "Oracle Analytics Usage".

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    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.

Maybe you are looking for

  • ITunes update will not install because of Bonjour

    I am trying to update iTunes 9.2 but it tells me it cannot install because older version of Bonjour cannot be deleted, How do I fix this?

  • Macbook Pro 13" Sluggishness

    Hello fellow Applers, I've been convinced I was paranoid for a while now, but recently I just can't take it anymore. Please let me know if these are normal specs for a 2011 MBP 13". 4gb DDR3 RAM, 320gb Hitachi HDD 5400rpm 1:34 seconds to power on and

  • FI AR Documents

    Hi , Does any body have steps on FI AR extraction , Because i am confused in ODS , Activation in ods , Then to data targets ..... Thanks

  • IPod synced with another computer message

    I have an iPod and an iPod nano suing iTunes on one computer, when I plug the iPod in and try to sync it, the iPod syneced to another computer comes up. The nano works fine. The iPods use two different playlists and the playlist for the iPod is empty

  • SUS-ERP integration w/o XI

    Hi! We have an extended classic scenario already up and running between ERP->EBP system without XI usage. We are using BBP_EXTREQ_TRANSFER report. And we would like to Configure SUS system to make Suppliers able to see Sales Orders and create Confirm