I have a command button that when pressed I want to update certain values in the table to 0 or blank I need to do this for each record in the table.
I know VFP not vb
if VFP it would be
DO while !eof()
replace .....
skip
enddo
This is what I have so far but I do not know the code to update the table values this is my code so far
result = MsgBox("Warning Command will reset all values to 0 or Blank, Continue", vbYesNo, "Answer Requested")
If result = vbYes Then
Dim strNewRecord As String
strNewRecord = "SELECT * FROM IT "
Me.RecordSource = strNewRecord
Else
End If
Thanks Terry
I know VFP not vb
if VFP it would be
DO while !eof()
replace .....
skip
enddo
This is what I have so far but I do not know the code to update the table values this is my code so far
result = MsgBox("Warning Command will reset all values to 0 or Blank, Continue", vbYesNo, "Answer Requested")
If result = vbYes Then
Dim strNewRecord As String
strNewRecord = "SELECT * FROM IT "
Me.RecordSource = strNewRecord
Else
End If
Thanks Terry