I'm trying to delete records from a table using a selected value on a form. I get an error when running this statement. The messagebox says "parameter missing". Must be a syntax error.
CurrentDb.Execute "DELETE * from [Journalisering BG 09] WHERE ((([Journalisering BG 09].[inhoudingsplichtige])<>[Forms]![Selecteren lusmaand]![Begunstigderelatie]))"
To prevent me from having to ask more questions like this, does anybody have a good website where I can learn the basics for vba? Perhaps tektips has one, but could find it.
Window to my world
CurrentDb.Execute "DELETE * from [Journalisering BG 09] WHERE ((([Journalisering BG 09].[inhoudingsplichtige])<>[Forms]![Selecteren lusmaand]![Begunstigderelatie]))"
To prevent me from having to ask more questions like this, does anybody have a good website where I can learn the basics for vba? Perhaps tektips has one, but could find it.
Murphy's Law said:Anything that can go wrong will go wrong
Window to my world