E
edisonl via AccessMonster.com
hi,
There is this 'funny' situation I don't quite understand.
1. I had a recordset open>> rd.Open table, conn, adOpenStatic,
adLockPessimistic
2. Data is able to be extract and perform arithmatic operations.
3. Programatically I tried>>
OnCancel_Button_Click()
TotalDays_Text = CDec (TotalDays_Text)
Taken_Text = CDec (Taken_Text)
Balance_Text = CDec(Balance_Text)
'Before Operation ************************
a= msgbox(rd!taken & rd!balance)
Taken_Text = Taken_Text - TotalDays_Text
Balance_Text = Balance_Text + TotalDays_Text
rd!taken = Taken_Text
rd!balance = Balance_Text
'After Operation **************************
a= msgbox(rd!taken & rd!balance)
' Am able to display here the value after operations, but back end table
there is no UPDATE ?
' In other form I am able to use similar methods to perform the arimithic
operations but this not on this form.
'I check with the form setting did set to allowededit = true too
Edison
There is this 'funny' situation I don't quite understand.
1. I had a recordset open>> rd.Open table, conn, adOpenStatic,
adLockPessimistic
2. Data is able to be extract and perform arithmatic operations.
3. Programatically I tried>>
OnCancel_Button_Click()
TotalDays_Text = CDec (TotalDays_Text)
Taken_Text = CDec (Taken_Text)
Balance_Text = CDec(Balance_Text)
'Before Operation ************************
a= msgbox(rd!taken & rd!balance)
Taken_Text = Taken_Text - TotalDays_Text
Balance_Text = Balance_Text + TotalDays_Text
rd!taken = Taken_Text
rd!balance = Balance_Text
'After Operation **************************
a= msgbox(rd!taken & rd!balance)
' Am able to display here the value after operations, but back end table
there is no UPDATE ?
' In other form I am able to use similar methods to perform the arimithic
operations but this not on this form.
'I check with the form setting did set to allowededit = true too
Edison