I wonder if anyboyd could help me with using the Val function (to convert string to number) in an SQL Select statement as I need to sort on this.
I'm getting a 'type mismatch' when I use the above statement.
The rest of the statement is
(The filter is based on a form)
Regards
John
Code:
strsql = strsql & " ORDER BY " _
& "Val([People]" _
& "." _
& "[street no]") _
& ")"
I'm getting a 'type mismatch' when I use the above statement.
The rest of the statement is
Code:
strsql = "SELECT * FROM " & "people" & " WHERE "
strsql = strsql & Me.Filter
(The filter is based on a form)
Regards
John