G
Guest
Hello all I have this and its not excluding the crdmax from my where clause
CrdMax = DMax("Credit", "Post to GP")
Set rs = db.OpenRecordset("SELECT Credit FROM [Post to GP] Where ([Post to
GP].Credit <> 0) and ([Post to GP].Credit <> " & CrdMax & ")")
any thoughts on what I am doing wrong
CrdMax = DMax("Credit", "Post to GP")
Set rs = db.OpenRecordset("SELECT Credit FROM [Post to GP] Where ([Post to
GP].Credit <> 0) and ([Post to GP].Credit <> " & CrdMax & ")")
any thoughts on what I am doing wrong