473,473 Members | 1,491 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

VS 2005 checkbox with MS Access 2000 database

26 New Member
Dear sir,

I am making an application in visual studio 2005. In a form i have two checkbox and in access database i have two field which datatype is Yes/No. That means there is a checkbox shows it checked/unchecked

Now i want if i check in the checkbox in the form and save it then in the database field that field will checked or unchecked accordingly.

and when i will recall the data then according to the datafield the checkbox will checked or unchecked according to the database.

How do i set the command

Please give me both command one is INSERT/UPDATE command, Another is recalling command


my other command is like
str="INSERT INTO UserTable(ID, Transaction, Report) VALUES('" & me.txt_ID.text & "', '" & me.chk_transaction.checked & "',...................)

Please correct me
Jul 3 '08 #1
3 1255
kenobewan
4,871 Recognized Expert Specialist
Try using a dataadapter. Is the table id choosen by the user through entering a number in a textbox?
Jul 3 '08 #2
godhulirbalaka
26 New Member
Try using a dataadapter. Is the table id choosen by the user through entering a number in a textbox?

NO table ID is not a factor. I just want if i checked a checkbox in the form and save it then in database the linked filed which datatype is yes/no that will checked or unchecked accordingly
Jul 4 '08 #3
kenobewan
4,871 Recognized Expert Specialist
NO table ID is not a factor. I just want if i checked a checkbox in the form and save it then in database the linked filed which datatype is yes/no that will checked or unchecked accordingly
All you need is one event and two functions. What events are you planning to use? Apart from an insert statement what have you done so far?
Jul 4 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Neil | last post by:
We have an Access 2000 MDB with a SQL 7 back end. We are upgrading SQL Server to SQL 2005, and are considering upgrading to Access 2003. Someone mentioned that they had heard about some...
2
by: phil2phil | last post by:
Hi, I have an old 2000 bak file for a db that I would now like restored onto sql server 2005. I keep erroring out though, this is what I'm doing: Went to Restore Database in sql 2005, selected...
2
by: JA | last post by:
Is it possible to connect to Sql Server 2005 using an Access 2000 adp? I keep trying, but it doesn't want to accept my id, even though it is right.
1
by: nerurmon | last post by:
Dear sir, I am making an application in visual studio 2005. In a form i have two checkbox and in access database i have two field which type is Yes/No. Now i want if i check in the checkbox in...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.