hockey8837
Registered User.
- Local time
- Today, 13:39
- Joined
- Sep 16, 2009
- Messages
- 106
Hi,
I've got an accounting DB in which I have a form with 3 possible different currency values the user can enter; [Materials Cost], [Rate Cost], and [Contractor Cost].
I have a query which pulls any value from these (there will only ever be one of them filled out per record) and puts it into a [Billed Amount]. Here's the code in my query:
The query works fine-I can look at it and see it totaling fine. The form WAS working fine, too, entering the values properly. But, I created a select query on a combo box for the [Rate Cost] to automatically fill in the salary when the Job Title is selected, and now, it's no longer entering the data in new records.
what did I do wrong?
Thanks!
I've got an accounting DB in which I have a form with 3 possible different currency values the user can enter; [Materials Cost], [Rate Cost], and [Contractor Cost].
I have a query which pulls any value from these (there will only ever be one of them filled out per record) and puts it into a [Billed Amount]. Here's the code in my query:
Code:
Billed Amount: IIf(IsNull([Rate Cost]),IIf(IsNull([DCH 12 Percent]),[Materials Cost],[DCH 12 Percent]),IIf(IsNull([Materials Cost]),[Rate Cost],[Materials Cost]))
The query works fine-I can look at it and see it totaling fine. The form WAS working fine, too, entering the values properly. But, I created a select query on a combo box for the [Rate Cost] to automatically fill in the salary when the Job Title is selected, and now, it's no longer entering the data in new records.
what did I do wrong?
Thanks!