NZ function compile error

G

Guest

I have a query like this: Name: Nz([S_Genus_Subgenus];[Genus])
and in SQLwindow: INSERT INTO Mytable ( ID, Name)
SELECT Diptera.ID, Nz([S_Genus_Subgenus], [Genus]) AS Name FROM Diptera;

The table Mytable exists. This worked a few months ago, but now I get a
compile error that says that Nz([S_Genus_Subgenus], [Genus]) AS Name is wrong.
What is wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top