Mar 9, 2006 #1 din2005 Programmer Mar 22, 2005 162 GB Hi i have a type mismatch on this piece of code strDate = Nz(DMax("Date", "patientevent", "Hospital= '" & Me!Text820 & "'" And EventType = "Entered Waiting List")) can't seem to know whats wrong with it???
Hi i have a type mismatch on this piece of code strDate = Nz(DMax("Date", "patientevent", "Hospital= '" & Me!Text820 & "'" And EventType = "Entered Waiting List")) can't seem to know whats wrong with it???
Mar 9, 2006 1 #2 mp9 Programmer Sep 27, 2002 1,379 GB Try: Code: strDate = Nz(DMax("Date", "patientevent", "Hospital= '" & Me!Text820 & "' And EventType = 'Entered Waiting List'")) http://www22.brinkster.com/accessory/ Upvote 0 Downvote
Try: Code: strDate = Nz(DMax("Date", "patientevent", "Hospital= '" & Me!Text820 & "' And EventType = 'Entered Waiting List'")) http://www22.brinkster.com/accessory/