B
Ben Moore
I have a database that uses three different tables one for employee
information, one for wage information, and one for each employee's
status within the company. These table are related by employee ID numbers.
Here's the deal. I work the databases when I can, but bosses want to be
able to make changes on their own without having to learn query
language. Well, I have been using some thing like:
In (SELECT Max(T.dateChange)FROM status as T WHERE T.empId =
teamMembers.empId)
to select the most recent entry from the status table based on a certain
employee ID. Well, this is a little too complicated when it needs to be
applied to other queries.
Is there a way I can write a module/macro or SOMETHING where they can
just use it like a function? I'm browsing these newgroups and googling
like crazy, but I figure the fastest way is to just come out and ask for
help.
Any help is greatly appreciated. Thanks in advance.
cheers,
Ben Moore
information, one for wage information, and one for each employee's
status within the company. These table are related by employee ID numbers.
Here's the deal. I work the databases when I can, but bosses want to be
able to make changes on their own without having to learn query
language. Well, I have been using some thing like:
In (SELECT Max(T.dateChange)FROM status as T WHERE T.empId =
teamMembers.empId)
to select the most recent entry from the status table based on a certain
employee ID. Well, this is a little too complicated when it needs to be
applied to other queries.
Is there a way I can write a module/macro or SOMETHING where they can
just use it like a function? I'm browsing these newgroups and googling
like crazy, but I figure the fastest way is to just come out and ask for
help.
Any help is greatly appreciated. Thanks in advance.
cheers,
Ben Moore