Avatar of urjudo
Flag for United States of America asked on

Check box in VB.net

Hi Experts,
I have a question in Vb.net Visual Studio 2019 community.  I'm just start to learning VB.net visual studio.  I have a form with a check box named Terminated, I would like to do is
1) when I check the checkbox, the UserLoginID then automatically move to the tblLoginID and delete from tblUser.
2). If I re-assigned the UserLoginID to tblUser then the userLoginID in tblLoginID will automatically delete .

Can it be done in vb.net?  I can do both cases in Access Database. can anyone please give me some advise or any sample will be appreciate!  also the code should be place in the Save button or the CheckBox

tblUser                                                                      tblLoginID
UserLoginID  -- > we assigned the ID#                UserLoginID
Terminated  -- > checkbox

Visual Basic.NETMicrosoft Visual StudioMicrosoft Access

Avatar of undefined
Last Comment

8/22/2022 - Mon

Didn’t quiet get your scenario but you can use valuechanged event for checkbox or while saving look for checkboxcontrol.checked property returns true if checkbox is checked

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes