Avatar of MBHEY131
MBHEY131
 asked on

.haschanges ?

here it is:

        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???

Can anyone shed some light on this issue for me?
Visual Basic.NET.NET Programming

Avatar of undefined
Last Comment
MBHEY131

8/22/2022 - Mon
SOLUTION
Jacques Bourgeois (James Burger)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
MBHEY131

ASKER
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?
ASKER CERTIFIED SOLUTION
Jacques Bourgeois (James Burger)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
MBHEY131

ASKER
Thanx for the info!
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy