How to add a record just by clicking CheckBox

Tiger Oman

New member
Local time
Today, 16:10
Joined
May 2, 2006
Messages
5
Hi,

I have this form which have some text fields and CheckBox list or Option list, you fill the text fields then chose from the option list then adding the record by clicking the button.

I want to change this so that by choosing any option fron the option list it will add the record automatically without clicking the button.

So please help how to do that.
 
Code:
Then adding the record by clicking the button.
What button?
 
I wouldn't recommend it but

Look at the on click event of your button and use the save command used there by putting it in the on click event of your check box
 
ansentry said:
Code:
Then adding the record by clicking the button.
What button?

The checkBox button or the option button, i mean when u click the option button it will add automatically
 
Smart said:
I wouldn't recommend it but

Look at the on click event of your button and use the save command used there by putting it in the on click event of your check box


Actually i v' tried that but it dosen't work propably, its not updating the record automatically and give an error
 
Helloo People

Any body can help me? I really wanna solve this problem
 
Put the code that is run when you click the button into the AfterUpdate of your option list.

Larry
 
Laurentech said:
Put the code that is run when you click the button into the AfterUpdate of your option list.

Larry


Thanks alot Larry thats really help
 

Users who are viewing this thread

Back
Top Bottom