Skip to content
Advertisement

Why does “Enter parameter value” appears using INSERT INTO VALUES?

I’m always getting the “enter parameter value error” when I try to run this code. The error refers to idPat, idSP, idPar and measure_value. I have checked with the debug idPar, idPat, idSP and measure_value and they assume the correct value; the errors comes out when I run sql.

Advertisement

Answer

Your VALUES part is just text. What you need is:

You may also need to enclose text values in database quotes, for example:

to enclose measureValue if it is text.

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