|
|
|
|
|
|
Re: help plzzzzzzzzz!!!!!!!!!!!!!1 [message #118566 is a reply to message #118306] |
Thu, 05 May 2005 20:44 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Do the insert when you do the monthly pay run. This record contains the salary. Then apply the deductions. Finally when the sales have been run you do an UPDATE to work out the commissions.
Alternatviely, if you have all the other information available then you probably don't need to do the work in a form but just have a button which calls a PL/SQL script (package, procedure, or function) that scans the other tables and perform an insert for all active employees.
Go to http://otn.oracle.com/pls/db92/db92.homepage. There is a SQL, PL/SQL, and SQL*Plus link that will lead you to the 'insert' statement.
David
|
|
|