I do not have an officers table w/the names.
Ummmm... then how could your database possible print out names!?
Basically, I have inherited
this project of converting a Visual Dbase 5.0 database to Access 2007. The
"SPO" field is in the OFFENDID table w/all the other fields which doesn't
include the names of the officers. Any ideas?
What does the SPO field contain? Just the initials?
What I'd like to do is create a report that allows a probation officer to
select only his or hers cases and then puts their name in the header. I have
the parameter for the query... Like "*" & [Enter Probation Officer] & "*" I
just have to figure out how to either hard code their name in or get the
names in the table some how and I'm not sure how to do this.
This isn't making sense. You're asking how to search the database for a name
which the database does not contain.
What I would recommend is that you create a lookup table with three fields -
SPO (three character text, primary key), FirstName, and LastName. Type in the
initials and the officers' names. Create a Query joining your OFFENDID table
to this table, joining by SPO. You'll then be able to search using the name
fields.
John W. Vinson [MVP]