Criteria for check numbers only

  • Follow


Access 2007, Vista SP2 Ultimate

I have a check register in which I enter both the umbers of checks I write 
and the debit card POS entries.  I need to be able to separate out the 
checks from the debit entries.  I have the criteria for the query to 
separate out the POS transactions in a query:
Like 'DBT*' Or Like 'DBT*'

But, I am having a hard time figuring out what criteria I need to separate 
out the check numbers (such as 123, or 371) from the 'DBT' entries in that 
field for the check number  query.

Any suggestions would be much appreciated.

Jan :)

0
Reply Jan 6/5/2010 1:19:18 AM

The problem seems to be that you have two pieces of information in the one 
field -- the type and the number.

The solution is to follow the rule to make your fields atomic (i.e. only one 
thing in any field.)

Use two fields -- one for the type, one for the number -- and the problem is 
solved.

-- 
Allen Browne - Microsoft MVP.  Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"Jan :)" <jan_no@spam.live.com> wrote in message 
news:eLSxf0EBLHA.1892@TK2MSFTNGP05.phx.gbl...
> Access 2007, Vista SP2 Ultimate
>
> I have a check register in which I enter both the umbers of checks I write 
> and the debit card POS entries.  I need to be able to separate out the 
> checks from the debit entries.  I have the criteria for the query to 
> separate out the POS transactions in a query:
> Like 'DBT*' Or Like 'DBT*'
>
> But, I am having a hard time figuring out what criteria I need to separate 
> out the check numbers (such as 123, or 371) from the 'DBT' entries in that 
> field for the check number  query.
>
> Any suggestions would be much appreciated.
>
> Jan :)
> 
0
Reply Allen 6/5/2010 2:03:17 AM


Hi Allen, and thank you for your reply, I truly appreciate it

Jan :)

"Allen Browne" <AllenBrowne@SeeSig.Invalid> wrote in message 
news:%23GJKENFBLHA.3840@TK2MSFTNGP02.phx.gbl...
> The problem seems to be that you have two pieces of information in the one 
> field -- the type and the number.
>
> The solution is to follow the rule to make your fields atomic (i.e. only 
> one thing in any field.)
>
> Use two fields -- one for the type, one for the number -- and the problem 
> is solved.
>
> -- 
> Allen Browne - Microsoft MVP.  Perth, Western Australia
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
>
> "Jan :)" <jan_no@spam.live.com> wrote in message 
> news:eLSxf0EBLHA.1892@TK2MSFTNGP05.phx.gbl...
>> Access 2007, Vista SP2 Ultimate
>>
>> I have a check register in which I enter both the umbers of checks I 
>> write and the debit card POS entries.  I need to be able to separate out 
>> the checks from the debit entries.  I have the criteria for the query to 
>> separate out the POS transactions in a query:
>> Like 'DBT*' Or Like 'DBT*'
>>
>> But, I am having a hard time figuring out what criteria I need to 
>> separate out the check numbers (such as 123, or 371) from the 'DBT' 
>> entries in that field for the check number  query.
>>
>> Any suggestions would be much appreciated.
>>
>> Jan :)
>> 

0
Reply Jan 6/5/2010 2:40:07 AM

2 Replies
492 Views

(page loaded in 0.045 seconds)


Reply: