Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

call a funtion with in a fucntion

Discussion in 'Information Technology' started by chellme, Jul 28, 2006.

  1. chellme

    chellme
    Expand Collapse
    Guest

    Hello!
    i'm an ms access beginer. how can i call a function with in a function. or
    how can i set that if i click the navigation button to the next record, it
    would prompt me to save changes or not. if yes it will run btn_save_click, if
    no it will run btn_undo_click????

    thank you.
     
  2. Loading...

    Similar Threads Forum Date
    Hard Talk Shamelessly Ungrateful People . What We Call In Punjabi "Akirtghan" Hard Talk Jun 19, 2016
    Your Calling Get Involved Jun 5, 2016
    Does Reading Baani Magically Affect Our Body And Psyche? And Does The Effect Depend On The Bani Read Intellectual Translations by SPNers Apr 30, 2016
    How Harnarayan Singh Found His Calling Sikh Personalities Apr 13, 2016
    Controversial Concept of so-called Jhootah and Sikhism Hard Talk Dec 10, 2015

  3. Arvin Meyer [MVP]

    Arvin Meyer [MVP]
    Expand Collapse
    Guest

    Something like this:

    Sub Form_BeforeUpdate(Cancel As Integer)
    If MsgBox ("Save changes", vbYesNo, "Save?") = vbYes Then
    btn_Save_Click
    Else
    btn_Undo_Click
    End If
    End Sub
    --
    Arvin Meyer, MCP, MVP
    Microsoft Access
    Free Access downloads
    http://www.datastrat.com
    http://www.mvps.org/access

    "chellme" <chellme@discussions.microsoft.com> wrote in message
    news:66B61915-AC54-4E44-A961-23427FEC85E6@microsoft.com...
    > Hello!
    > i'm an ms access beginer. how can i call a function with in a function.

    or
    > how can i set that if i click the navigation button to the next record, it
    > would prompt me to save changes or not. if yes it will run btn_save_click,

    if
    > no it will run btn_undo_click????
    >
    > thank you.
     

Share This Page