Full Version: Swapping fields in a form
UtterAccess Forums > Microsoft® Access > Access Forms
I posted a similar question that I didn't get resolved. I have two addresses (origin and destination)on my form. how do i create a button event that will swap the addresses for me?
you could use, in the click event of a button:
Dim strRepl As String
nbsp;   strRepl = Me.txtOrig
    Me.txtOrig = Me.txtDest
    Me.txtDest = strRepl
Thanks Bob your the MAN!
Glad to be able to help thumbup.gif
This is a "lo-fi" version of UA. To view the full version with more information, formatting and images, please click here.