Search results

  1. HASAN-1993

    Solved ShortCut Menu .OnAction

    Your efforts are appreciated However, this will not work for me because I am working with Instance Form so the function must be called from the same form
  2. HASAN-1993

    Solved ShortCut Menu .OnAction

    I have put a Form, if you press it with the right Click, the shortcut menu will appear, I want onAction Call Function Insert On Same Form
  3. HASAN-1993

    Solved ShortCut Menu .OnAction

    There is no solution to this problem 😕
  4. HASAN-1993

    Solved ShortCut Menu .OnAction

    Ok, I originally want to call a function from the same subform But I do all the attempts The important thing is, I do not want to call the function from the main module
  5. HASAN-1993

    Solved ShortCut Menu .OnAction

    Except if I made the code .OnAction = unitprice() It will work but directly when i open the menu
  6. HASAN-1993

    Solved ShortCut Menu .OnAction

    I just put a msgbox to make sure the function is working
  7. HASAN-1993

    Solved ShortCut Menu .OnAction

    I tried to put the function on the main Form and call it from the subform And I tried to put it in the same subform and call it from the subform All this did not work
  8. HASAN-1993

    Solved ShortCut Menu .OnAction

    yes, on the same
  9. HASAN-1993

    Solved ShortCut Menu .OnAction

    Of course, this is my full code, but it only works from the main module, either from the same form, not
  10. HASAN-1993

    Solved ShortCut Menu .OnAction

    If the equal sign is inserted twice next to each other, the code will not work at all
  11. HASAN-1993

    Solved ShortCut Menu .OnAction

    Public Function UnitPrice() Msgbox "Hello" End Function Public Function ShortCutMenuM() Set Button = .Controls.Add(msoControlButton) With Button .Caption = "PriceName" .OnAction = "=UnitPrice()" End With End Function
  12. HASAN-1993

    Solved ShortCut Menu .OnAction

    Cannot Find The Name You Entered In the Expression I just put a msgbox to make sure the function is working
  13. HASAN-1993

    Solved ShortCut Menu .OnAction

    It also did not work
  14. HASAN-1993

    Solved ShortCut Menu .OnAction

    Access Cannot Run The Macro Or Callback Function Although if I tries to call function from one of the button, it will work
  15. HASAN-1993

    Solved ShortCut Menu .OnAction

    Yes, and it is already in the same form
  16. HASAN-1993

    Solved ShortCut Menu .OnAction

    How Can I Call Function On The Same Form .OnAction = "UnitePrice" .OnAction = "=UnitePrice" .OnAction = "=UnitePrice()" .OnAction = "MainForm.UnitePrice()" All of these did not work It only works from the main module page
  17. HASAN-1993

    Instance Of Same Form

    The solution has been found [In the form that will be storing the variable (unbound)] Private WithEvents dlg As Form_frmCustomDistList Private Sub dlg_Finished(vReturnValue As Variant) BLAH BLAH.. End Sub Private Sub cmdDistributionList_Click() Set dlg = New Form_frmCustomDistList...
  18. HASAN-1993

    Instance Of Same Form

    I have a nice thing, which is that the Form that I want to choose account from is normal, not instance, but how it will be
  19. HASAN-1993

    Instance Of Same Form

    Thank you, my dear brother But believe me, I'm doing something cool, but it's already a little complicated But thanks to your information, I have now reached my goal But one thing remained, and that was how I call instance form from another form
  20. HASAN-1993

    Instance Of Same Form

    Ok the problem was solved I used the query and were filtering according to the frm.Hwnd But the problem remained, how to access this form I have an account selection form When selecting an account, it inserts it in the form, but in this case it does not find the form
Back
Top Bottom