Exforsys

Online Training

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 Tutorials forums, part of the Articles and Tutorials category; Hello, I have a form that contains some data and I would like to count them in a new Item ...


Go Back   Exforsys > Articles and Tutorials > Oracle Tutorials

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-16-2007, 03:45 PM
meLady's Avatar
Junior Member
 
Join Date: May 2007
Posts: 2
meLady is on a distinguished road
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 (^_^)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-16-2007, 04:56 PM
meLady's Avatar
Junior Member
 
Join Date: May 2007
Posts: 2
meLady is on a distinguished road
anyone can help me ... Please!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-29-2007, 02:40 AM
Saqi
 
Join Date: May 2007
Location: Pakistan, Karachi
Posts: 5
saquib1982 is on a distinguished road
Hiii...

I think this query is useful:

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

try this hope this will help u..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-01-2007, 05:19 AM
Junior Member
 
Join Date: Feb 2006
Posts: 1
leokamal is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
General Ledger – Technical dongta_ndh Oracle Apps 0 12-20-2006 11:06 PM
[FAQ] FileMaker Pro - database for Macintosh and Windows Martin Trautmann Tech FAQ 0 04-17-2004 08:26 AM


All times are GMT -4. The time now is 07:29 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.