PC Review


Reply
Thread Tools Rate Thread

Criteria for check numbers only

 
 
Jan :\)
Guest
Posts: n/a
 
      5th Jun 2010
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

 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      5th Jun 2010
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 " <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>

 
Reply With Quote
 
Jan :\)
Guest
Posts: n/a
 
      5th Jun 2010
Hi Allen, and thank you for your reply, I truly appreciate it

Jan

"Allen Browne" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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 " <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to check More than one criteria and get the value manju Microsoft Excel Worksheet Functions 1 28th Jan 2008 02:54 PM
check box criteria hugz via AccessMonster.com Microsoft Access Queries 1 29th May 2007 04:35 PM
sum numbers under or over a criteria? Dan B Microsoft Excel Worksheet Functions 4 3rd Mar 2007 01:57 AM
Check Box Use As Criteria =?Utf-8?B?TmljayBoZnJ1cG4=?= Microsoft Access Queries 6 21st Nov 2005 07:56 AM
Criteria for Yes/No and Check Box Asa Kaplan Microsoft Access Queries 2 6th Apr 2004 01:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:37 AM.