I have the following:
AssignedNumber is a text format number of the form ?????####. I want to find the maximum #### regardless of the ????? part. How do I modify my query?
Thanks!
CB55
Code:
Set Rec = CurrentDb.OpenRecordset("SELECT Max([AssignedNumber]) As MaxNumber FROM Models WHERE [AssignedNumber] Like " & Chr(34) & "?????####" & Chr(34))
Thanks!
CB55
Comment