Home » Developer & Programmer » Forms » A form to generate sequencial number.
A form to generate sequencial number. [message #122256] Sat, 04 June 2005 07:05 Go to next message
ardhiansd
Messages: 2
Registered: June 2005
Location: Indonesia
Junior Member

Hi experts,

I want to create a form. This form only display a counter and a button (close button). Every time the form opened the counter will increase. The counter data will be stored in a table.
I just now learning Oracle, so I appologize is this question is so silly.

Thanks
Ardhian
Re: A form to generate sequencial number. [message #122337 is a reply to message #122256] Mon, 06 June 2005 00:23 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Base your block on your control table from the database. One field and then in the when-new-form-instnce trigger, increment the field and commit it. When the form displays it will show the new value of the field.

'ardhiansd' - this is pretty basic stuff. Try working through the dept / emp tutorials on OTN and then come back with your questions. Have a look at the demo disk and demo directory in the oracle root.

David
Previous Topic: .....Stacked Canvas........interesting
Next Topic: comparing date problem
Goto Forum:
  


Current Time: Thu Sep 19 22:33:00 CDT 2024