G
Guest
I have an Access 97 which contains some local tables and links to 3 SQL
tables. This database has been in use for years and now I’m getting an unual
error message: Function isn't available in expressions in query expression
'KeywordCat = 'VM Sub-Category' AND Left(Keyword, 2) = '3.".
There are 2 combo boxes that use a local table to populate. The first has a
select statement as it’s row source. It has an after update event which
populates the second combo box (row source is blank). Here is the procedure:
Dim strCat As String
Dim strAddEdit As String
strCat = NullString(Me![CATEGORY])
strAddEdit = NullString(Me![txtAddEdit])
If strCat <> "" And strAddEdit <> "0" Then
Me.SUBCATEGORY.RowSource = "SELECT Keyword FROM tblKeyword WHERE
KeywordCat = 'VM Sub-Category' AND " _
& "Left(Keyword, 2) = '" & Left(strCat, 2) & "' ORDER BY Keyword"
End If
Any ideas why this would happen now? I did reboot the SQL Server thinking
it might be a connectivity issue but since only a local table is involved, it
shouldn't matter. Also, I check the references and they look ok.
Thanks
LeAnn
tables. This database has been in use for years and now I’m getting an unual
error message: Function isn't available in expressions in query expression
'KeywordCat = 'VM Sub-Category' AND Left(Keyword, 2) = '3.".
There are 2 combo boxes that use a local table to populate. The first has a
select statement as it’s row source. It has an after update event which
populates the second combo box (row source is blank). Here is the procedure:
Dim strCat As String
Dim strAddEdit As String
strCat = NullString(Me![CATEGORY])
strAddEdit = NullString(Me![txtAddEdit])
If strCat <> "" And strAddEdit <> "0" Then
Me.SUBCATEGORY.RowSource = "SELECT Keyword FROM tblKeyword WHERE
KeywordCat = 'VM Sub-Category' AND " _
& "Left(Keyword, 2) = '" & Left(strCat, 2) & "' ORDER BY Keyword"
End If
Any ideas why this would happen now? I did reboot the SQL Server thinking
it might be a connectivity issue but since only a local table is involved, it
shouldn't matter. Also, I check the references and they look ok.
Thanks
LeAnn