Jackson1998
Member
- Joined
- Jun 1, 2014
- Messages
- 10
- Programming Experience
- 1-3
I have a database table called "Items" that contains 4 data (ID, NAME, Count , Value )
what i want is : when i click a button All records in Value will be set to zero "0" .
i'm using MS access database . for updating one record that linked to a specific ID i used this query :
as a function and i called it Updatequery ,i called it in coding and it worked fine
for what i talked about above i used this query :
but nothing happened .
BTW i display data on a Datagridview
thanks in advance
what i want is : when i click a button All records in Value will be set to zero "0" .
i'm using MS access database . for updating one record that linked to a specific ID i used this query :
VB.NET:
[FONT=Verdana]"UPDATE `Items` SET `Value` = 0 where ID=?"[/FONT]
for what i talked about above i used this query :
VB.NET:
[/FONT][FONT=Verdana]UPDATE `Items` SET `Value` = 0 "
but nothing happened .
BTW i display data on a Datagridview
thanks in advance