insert from button

J

James

Hello,

I have created a registration formview that works perfectly when using the
link 'Insert' that is created automaticaly when you create the form.

My problem is that I want a button instead of a link, just for looks no
other reason. When I create a button and have the onclick code as:

Datesource1.insert()

It does not use the parameters it just misses them out. I have two
parameters based on controls on the page and they insert correctly but
everything else is blank.

Is there something I have to do extra to use buttons instead of the link?

Many thanks for your advice in advance.
James
 

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

Members online

Forum statistics

Threads
474,184
Messages
2,570,979
Members
47,580
Latest member
kim2namjoon

Latest Threads

Top