G
GraVeDiGGer
Ok its been forever and a day (nearly a decade) since I have done ANY
database work and to say I am rusty would be an understatement.
I am in a new position at a new company and they use rather antiquated
techniques in their passing of information thus I figured a database
would solve many issues with data integrity and the likes.
My post is two fold, first off what books do you "savvy" users
recommend for someone who is getting back into DB work.
I plan to spend a couple of weeks refreshing and reading so as not to
become an abuser of the group.
We are using Access 2000....
Now for the second part.... I am writing a query
I am concerned with two pieces of data
Retention and Phone
If the phone is null I do now want to see the record
thus "Is Not Null" returns any record where the phone is present
the second part of the query is that I want to only display records
where the field "retention" does not contain "cc=ok" or is empty
so I use "<>"cc=ok" Or Is Null" and viola this returns only empty
records in which retention is not equal to "cc=ok" and that has a
phone number....
The issue I am having is that as my associate calls on these customers
they will use a combo box to record a predetermined call response and
cycle through the records... call reasons are
No Answer
Call Back 1
Call Back 2
Call Back 3
Wrong Number
Fax
No Number
Cancel
Business
OK
Not in Service
Never Ordered
as they make calls and advance to the next record it populates the
table with one of these reasons... at this point I want them to only
see records which are null or have the first four call reasons in
retention
No Answer
Call Back 1
Call Back 2
Call Back 3
so I use
([Retention]<>"cc=OK" Or [Retention] Is Null) Or ( [Retention] = no
answer or [Retention] = "call*")
and it fails.. I get records which say
Wrong Number
Fax
No Number
Cancel
Business
OK
Not in Service
Never Ordered
as well....
What am I doing wrong?
Thanks in advance
database work and to say I am rusty would be an understatement.
I am in a new position at a new company and they use rather antiquated
techniques in their passing of information thus I figured a database
would solve many issues with data integrity and the likes.
My post is two fold, first off what books do you "savvy" users
recommend for someone who is getting back into DB work.
I plan to spend a couple of weeks refreshing and reading so as not to
become an abuser of the group.
We are using Access 2000....
Now for the second part.... I am writing a query
I am concerned with two pieces of data
Retention and Phone
If the phone is null I do now want to see the record
thus "Is Not Null" returns any record where the phone is present
the second part of the query is that I want to only display records
where the field "retention" does not contain "cc=ok" or is empty
so I use "<>"cc=ok" Or Is Null" and viola this returns only empty
records in which retention is not equal to "cc=ok" and that has a
phone number....
The issue I am having is that as my associate calls on these customers
they will use a combo box to record a predetermined call response and
cycle through the records... call reasons are
No Answer
Call Back 1
Call Back 2
Call Back 3
Wrong Number
Fax
No Number
Cancel
Business
OK
Not in Service
Never Ordered
as they make calls and advance to the next record it populates the
table with one of these reasons... at this point I want them to only
see records which are null or have the first four call reasons in
retention
No Answer
Call Back 1
Call Back 2
Call Back 3
so I use
([Retention]<>"cc=OK" Or [Retention] Is Null) Or ( [Retention] = no
answer or [Retention] = "call*")
and it fails.. I get records which say
Wrong Number
Fax
No Number
Cancel
Business
OK
Not in Service
Never Ordered
as well....
What am I doing wrong?
Thanks in advance