mariacri11
Programmer
I hope someone can help me with this problem:
I am developing an aplication using Access Data Pages and SQL Server.
Everithing works fine when usind wizards.
I want to call a stored procedure so I created a button with the script:
<SCRIPT language=vbscript event=onclick for=buton>
sqlsql="execute p1"
MSODSC.Connection.Execute sqlsql
</SCRIPT>
It doesn't work at all. I think the script isn't processed.
Does anyone know why? Or what am I doing wrong?
I am developing an aplication using Access Data Pages and SQL Server.
Everithing works fine when usind wizards.
I want to call a stored procedure so I created a button with the script:
<SCRIPT language=vbscript event=onclick for=buton>
sqlsql="execute p1"
MSODSC.Connection.Execute sqlsql
</SCRIPT>
It doesn't work at all. I think the script isn't processed.
Does anyone know why? Or what am I doing wrong?