Exforsys
+ Reply to Thread
Results 1 to 4 of 4

I need help in Counting the Records - Oracle9i Form Developer

This is a discussion on I need help in Counting the Records - Oracle9i Form Developer within the Oracle Database forums, part of the Database category; Hello, I have a form that contains some data and I would like to count them in a new Item ...

  1. #1
    meLady's Avatar
    meLady is offline Junior Member Array
    Join Date
    May 2007
    Answers
    2

    I need help in Counting the Records - Oracle9i Form Developer

    Hello,

    I have a form that contains some data and I would like to count them in a new Item text ... I don't want to use the Item Text's property ... I want to use the SQL statement code to count the records ... I named the Item Text as Count_Records ...

    So, Can I have your nice help in this (^_^)


  2. #2
    meLady's Avatar
    meLady is offline Junior Member Array
    Join Date
    May 2007
    Answers
    2
    anyone can help me ... Please!


  3. #3
    saquib1982 is offline Saqi Array
    Join Date
    May 2007
    Location
    Pakistan, Karachi
    Answers
    3
    Hiii...

    I think this query is useful:

    select count(xx)
    into Count_Records
    from <Table_Name>;

    try this hope this will help u..


  4. #4
    leokamal is offline Junior Member Array
    Join Date
    Feb 2006
    Answers
    1

    Records Count Query

    Hello

    Here under the query but b4 that i am assuming that the table has an index column. lets say EMPNO in employees table.

    Query ...

    Select Count(empno) into :rec_count_txt from employees.

    But if your form table is not indexed then you can use * in place of field.

    Select count(*) into :rec_count_txt from employees.

    but the most important thing is where to place the triger. well you should use this triger on block level.

    take care,

    Bye Bye


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...