Automatic Commit - Multi-tab Form [message #447739] |
Wed, 17 March 2010 12:30 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Kevin58
Messages: 79 Registered: January 2009
|
Member |
|
|
I have a four tab canvas. The first 3 tabs belong
to one data block. The last tab has two data blocks.
How can I automatically commit changes if the
user clicks on any tab and not necessarily in
tab order?
Thanks,
Kevin
|
|
|
|
|
|
Re: Automatic Commit - Multi-tab Form [message #447756 is a reply to message #447739] |
Wed, 17 March 2010 14:09 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Kevin58
Messages: 79 Registered: January 2009
|
Member |
|
|
Hi Littlefoot,
A little background. I'm trying to get to a point where
no matter what the user does, changes something on one tab,
then clicks on another tab may or may not make any changes their
and then decides to goto the next record or starts a new query to find other data, etc..
I want to make sure that if they did change anything or created a new record that it gets saved.
Is there anything like an auto commit?
Thanks,
|
|
|
Re: Automatic Commit - Multi-tab Form [message #448245 is a reply to message #447739] |
Mon, 22 March 2010 05:17 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
No.
Why are you worrying about this?
If the user does anything that'll wipe the data they've entered so far - execute a query, clear a block, exit the form - forms will prompt them to save anyway.
If you really need to do this will WHEN-TAB-PAGE-CHANGED do the job?
|
|
|
|
Re: Automatic Commit - Multi-tab Form [message #448296 is a reply to message #447739] |
Mon, 22 March 2010 11:08 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
gregor
Messages: 86 Registered: March 2010 Location: Germany
|
Member |
|
|
Hello Kevin58,
you can use the PRE-INSERT-Trigger to fill your Key.
But hold in mind, that when you fill your Key
with a sequence, the table can only hold 9999999999
unique record-Keys.
The better way is, NOT to limmit the Column-size to 10.
or concatenate the SYSDATE with a rotating sequence.
or ....be creativ
|
|
|
|