insert from button

insert from button

am 29.01.2008 20:34:01 von 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