From: Jan :) on 4 Jun 2010 21:19 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 :)
From: Allen Browne on 4 Jun 2010 22:03 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(a)spam.live.com> wrote in message news:eLSxf0EBLHA.1892(a)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 :) >
From: Jan :) on 4 Jun 2010 22:40 Hi Allen, and thank you for your reply, I truly appreciate it Jan :) "Allen Browne" <AllenBrowne(a)SeeSig.Invalid> wrote in message news:%23GJKENFBLHA.3840(a)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(a)spam.live.com> wrote in message > news:eLSxf0EBLHA.1892(a)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 :) >>
|
Pages: 1 Prev: How to get Email address list from Outlook to Msaccess Next: applying concatenate filter |