A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Criteria for check numbers only



 
 
Thread Tools Display Modes
  #1  
Old June 5th, 2010, 02:19 AM posted to microsoft.public.access.forms
Jan :\)[_14_]
external usenet poster
 
Posts: 1
Default Criteria for check numbers only

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

Ads
  #2  
Old June 5th, 2010, 03:03 AM posted to microsoft.public.access.forms
Allen Browne
external usenet poster
 
Posts: 11,706
Default Criteria for check numbers only

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 " wrote in message
...
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

  #3  
Old June 5th, 2010, 03:40 AM posted to microsoft.public.access.forms
Jan :\)[_15_]
external usenet poster
 
Posts: 1
Default Criteria for check numbers only

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

Jan

"Allen Browne" wrote in message
...
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 " wrote in message
...
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


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2004-2017 OfficeFrustration.
The comments are property of their posters.