joesmithf1
Registered User.
- Local time
- Today, 09:07
- Joined
- Oct 5, 2006
- Messages
- 56
Hello Everyone,
I know the 'basic' stuff(like creating tables, simple forms, reports, etc.) but I am not too good with the advance stuff.
Here is my table structure and data setups, and then I will list my issue.
I have a table with two columns, "GradeCodes" and "SalaryAmount."
GradeCodes SalaryAmount
A-11 $10
A-12 $20
A-40 $60
B-01 $5
B-02 $15
Is there a script that can do something like:
Create a new record for all the grades starting with "A," AND add an "O" after it, AND then apply 5% to its salayAmount. Hence the result should look something like this: GradeCodes =AO-11 SalaryAmount= $10.50. I want to do the same with "B," so B could look something like this: If "B," then add "M" after B and apply 20% to its SalaryAmount.
Please advise on the codes.
Thank you!
I know the 'basic' stuff(like creating tables, simple forms, reports, etc.) but I am not too good with the advance stuff.
Here is my table structure and data setups, and then I will list my issue.
I have a table with two columns, "GradeCodes" and "SalaryAmount."
GradeCodes SalaryAmount
A-11 $10
A-12 $20
A-40 $60
B-01 $5
B-02 $15
Is there a script that can do something like:
Create a new record for all the grades starting with "A," AND add an "O" after it, AND then apply 5% to its salayAmount. Hence the result should look something like this: GradeCodes =AO-11 SalaryAmount= $10.50. I want to do the same with "B," so B could look something like this: If "B," then add "M" after B and apply 20% to its SalaryAmount.
Please advise on the codes.
Thank you!