sform.Validate()
sform.ROInvRecallBindingSource.EndEdit()
If sform.RO_InvRecall_DS1.HasChanges() Then
IsDirty = True
Else
IsDirty = False
End If
the problem:
if I DO NOT call the "ENDEDIT" AND/OR THE "VALIDATE" methods "HASCHANGES" always comes back FALSE
if I DO call the "ENDEDIT" AND/OR THE "VALIDATE" methods "HASCHANGES" always comes back TRUE
whether I make changes to the DS or not - the changes are in the dataset correctly???
Check the code carefully to make sure that it does not make changes to the controls values or directly to the table(s) in the DataSet.
++++++++++++++++++++++++++++++++++++++
That was an earlier thought I had and upon inspection of the code (I DON'T KNOW) what's changing the set - however I am testing a datepicker chunk of code that I made a short date so no time gets saved but after a save nothing changes?? what I mean is that my issue does not change!
will look at the code more closely!
MBHEY131
ASKER
Is there a chunk of code I could put together in .haschanges that would let me know the offending control that's transferring the different info from the original dataset?
++++++++++++++++++++++++++
That was an earlier thought I had and upon inspection of the code (I DON'T KNOW) what's changing the set - however I am testing a datepicker chunk of code that I made a short date so no time gets saved but after a save nothing changes?? what I mean is that my issue does not change!
will look at the code more closely!