Home » Developer & Programmer » Forms » textitem problem
textitem problem [message #263477] Thu, 30 August 2007 02:40 Go to next message
fam_bila
Messages: 43
Registered: August 2007
Location: pakistan
Member
HI,

i want to get data from the table to the text items
when i click on a button .
then what code should be on when-button-pressed trigger of button.

related data

bolck name => class
text items => name, id
table name => class
table column => class_name , class_id
button => Show


can any body tell the code.
thanx
Re: textitem problem [message #263478 is a reply to message #263477] Thu, 30 August 2007 02:43 Go to previous messageGo to next message
Maaher
Messages: 7062
Registered: December 2001
Senior Member
I won't write your code but a WHEN-BUTTON-PRESSED trigger seems to be the right approach. In this trigger, you'd probably want to SELECT your database columns INTO your forms items...

MHE
Re: textitem problem [message #263534 is a reply to message #263477] Thu, 30 August 2007 04:44 Go to previous messageGo to next message
FirstKnight
Messages: 8
Registered: August 2007
Junior Member
select class_name , class_id into :class.name,:class.id from class;
Re: textitem problem [message #263721 is a reply to message #263478] Thu, 30 August 2007 20:09 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Maarten, please don't humor them with the PC weanie way of doing things.

@fam_bila, in your 'when-button-pressed' trigger just have an 'execute_query' statement.

David
Previous Topic: who insert webutil in oracle 10g
Next Topic: post-query problem
Goto Forum:
  


Current Time: Sun Dec 04 00:12:39 CST 2016

Total time taken to generate the page: 0.07922 seconds