Results 1 to 2 of 2

Thread: Refreshing Datas

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2004
    Location
    Florianopolis Brazil
    Posts
    9

    Refreshing Datas

    Hi,

    I'm trying to figure out how to get my values refreshed everytime I update them.

    I have 'change user' form that everytime I try to change the user it doesn't seem to update, I have to restart the application in order to the changes be applied into it.

    Not too sure if it will help if I put the piece of code along with, but I'll do anyways.



    Public Overridable Sub UpdateRegister(ByVal Data As Collection)

    Try
    DefineObject(data)
    If VerifyExeptions() = True Then Exit Sub
    Catch ex As Exeption
    If data.Item(1) > 0 Then
    mvarCollection.Alter(mvarObject)
    End If
    Finally
    mvarCollection.Include(mvarObject)
    mvarObject = mvarCollection.Search(C_Vision.OperationType.TPMovetoFinal)
    End Try

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    The easier way is to refill the dataset if you are using it and after each add .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width