J
johnboy7676
Don't really know how to explain this, but here goes. Have a table
with fields [BLOCK], [NUMBER], and [ALPHA]. [ALPHA] can be null.
These are concantenated together to form Acct# (block & "-" & number &
alpha). Example, 9-152 is different account from 9-152G.
I append block billing charges to a temp table for review, and then
post (append) those charges to transaction table. But, here is
strange thing. When I run a totals query, sometimes there are two
records instead of one.
For example; acct# 9-152 might show as:
Acct SumOfTransactions
9-152 $20.00
9-152 $15.00
instead of just:
9-152 $35.00
Access sees "something" in the Alpha field sometimes. In example
above, if I bring up those two records, and put cursour in the Alpha
field and backspace, or tab into field and delete, then Access will
still see them as two records. But, if I put something in the Alpha
field, save record, go back and delete out what I just put in, then
Access now considers them the same and will give me just one total.
If I run a query using Is Null in Alpha field, then Access returns
both records, so I don't understand why Access then returns two
records in a totals query. (leaving Acct# out of the query still
returns 2 records, btw)
It only happens sometimes. For example, out of approx 800 records I
just appended, there were 32 of these, where the totals query came up
with two different records rather than one.
I'm stumped.........Anybody ever hear of anything like this?
by the way, the block, number, alpha are used for sorting and
differenct charge levels. Since the Alpha field can be blank, I didn't
use this as a composite PK, but rather the Acct# is the PK.
Thanks for any help.
John
with fields [BLOCK], [NUMBER], and [ALPHA]. [ALPHA] can be null.
These are concantenated together to form Acct# (block & "-" & number &
alpha). Example, 9-152 is different account from 9-152G.
I append block billing charges to a temp table for review, and then
post (append) those charges to transaction table. But, here is
strange thing. When I run a totals query, sometimes there are two
records instead of one.
For example; acct# 9-152 might show as:
Acct SumOfTransactions
9-152 $20.00
9-152 $15.00
instead of just:
9-152 $35.00
Access sees "something" in the Alpha field sometimes. In example
above, if I bring up those two records, and put cursour in the Alpha
field and backspace, or tab into field and delete, then Access will
still see them as two records. But, if I put something in the Alpha
field, save record, go back and delete out what I just put in, then
Access now considers them the same and will give me just one total.
If I run a query using Is Null in Alpha field, then Access returns
both records, so I don't understand why Access then returns two
records in a totals query. (leaving Acct# out of the query still
returns 2 records, btw)
It only happens sometimes. For example, out of approx 800 records I
just appended, there were 32 of these, where the totals query came up
with two different records rather than one.
I'm stumped.........Anybody ever hear of anything like this?
by the way, the block, number, alpha are used for sorting and
differenct charge levels. Since the Alpha field can be blank, I didn't
use this as a composite PK, but rather the Acct# is the PK.
Thanks for any help.
John