Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Last function

Status
Not open for further replies.

TollBoothWillie

Programmer
Nov 29, 2003
1
US
I have two tables, call them Table_A and Table_B.

Table_A
TIME
LOG_MESSAGE

TABLE_B
TIME
ERROR

The times from the two tables are not in sync.

I need a query that displays the last log_message and associated time for each user-defined error. For example, I would like to enter an error string ("unhandled exception" for example) and have the query output to me the last log message before EACH instance of that error.
Any ideas?
 
Is there any relationship between the tables?
BTW: Time is a name of a function. You should really use something like LogTime and ErrTime.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top