R
Ray S.
I posted this question on 5/16 under the Subject Help with formula problem;
but received no reply. I'll quote the original post and then try to clarify
my question and add another.
<<I have a large database with accounting relevant information. New data must
be appended in a particular format for export to the accounting department.
There are 26 inter-company transfer accounts that always remain the same
except for the debits and credits. I have placed them in a separate table.
Two fields identify the codes for the transfers, i.e., an account number and
the corresponding transfer account. When one of the accounts is debited, the
corresponding account must be credited by the exact same amount (the debit is
entered as a positive number, and the credit as a negative). I would like to
have the corresponding account credited when the debit amount is entered. For
example, Field1=Entity, Field2=account. Let's say entity number 08101 is
debited +20,000.00; then the corresponding account, say 08001 must be
credited -20,000.00. Can I put this in some simple code for the debit and
credit fields? I know how to do this in Excel, but I don't know if it is
doable in Access. Essentially then, this table with its monthly transfers is
appended to the "holding" table that exports a delimited file to the
accounting department.>>
MyTable has Field1, Filed2, FieldCredit, and FieldDebit. I want to query
Field1 and the last part of Field2. If Field1 has a corresponding positive
amount in the FieldCredit, then I want the negative of the amount entered in
FieldCredit to be entered into the Field1 corresponding FieldDebit. Field1
identifies an accounting entry, and the last four characters of Field2
identify the corresponding transfer account (i.e., four characters that are
the same as the Field1 entries). I hope this makes it a little clearer on
what I want to do. Can anyone please help me?
The new part of my question is this: I have a field that is the last friday
of every month. I'm trying to figure a way to present the user an easy way to
select these dates for forms, queries, and reports.
I really appreciate the great value of help available in this group.
Someone please help.
but received no reply. I'll quote the original post and then try to clarify
my question and add another.
<<I have a large database with accounting relevant information. New data must
be appended in a particular format for export to the accounting department.
There are 26 inter-company transfer accounts that always remain the same
except for the debits and credits. I have placed them in a separate table.
Two fields identify the codes for the transfers, i.e., an account number and
the corresponding transfer account. When one of the accounts is debited, the
corresponding account must be credited by the exact same amount (the debit is
entered as a positive number, and the credit as a negative). I would like to
have the corresponding account credited when the debit amount is entered. For
example, Field1=Entity, Field2=account. Let's say entity number 08101 is
debited +20,000.00; then the corresponding account, say 08001 must be
credited -20,000.00. Can I put this in some simple code for the debit and
credit fields? I know how to do this in Excel, but I don't know if it is
doable in Access. Essentially then, this table with its monthly transfers is
appended to the "holding" table that exports a delimited file to the
accounting department.>>
MyTable has Field1, Filed2, FieldCredit, and FieldDebit. I want to query
Field1 and the last part of Field2. If Field1 has a corresponding positive
amount in the FieldCredit, then I want the negative of the amount entered in
FieldCredit to be entered into the Field1 corresponding FieldDebit. Field1
identifies an accounting entry, and the last four characters of Field2
identify the corresponding transfer account (i.e., four characters that are
the same as the Field1 entries). I hope this makes it a little clearer on
what I want to do. Can anyone please help me?
The new part of my question is this: I have a field that is the last friday
of every month. I'm trying to figure a way to present the user an easy way to
select these dates for forms, queries, and reports.
I really appreciate the great value of help available in this group.
Someone please help.