Skip to content
Advertisement

Access 2013 Requesting Enter Parameter On Insert Query

I’ve got a list box that pulls tests from a database depending on the college any particular student is in. When the student selects a test, I simply want to pull a few values out of the List box for stat tracking purposes. When I run this query, it requests I enter a parameter value.

Here is my code:

On TestName it’s requesting that I enter a parameter value. I’ve tried running this with a messagebox and it’s pushing the right information. Even the Enter Parameter value dialog that pops up has the correct information in it as a caption.

What am I missing?

Advertisement

Answer

You need a String, not a Variant, and a space:

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement