buttons that open forms

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rwest
    New Member
    • Dec 2011
    • 10

    buttons that open forms

    Hello
    I created a floods sub form in my main publications form. In this sub form I created a button that opens another from called info connected with a specific flood id. When I click on the button in the subform for a flood id #1 the right data form opens, when I click the button for a different flood id it only opens the data form for flood id #1. If this makes sense to anyone and they can help me it would be greatly appreciated.
    Thanks
  • Stewart Ross
    Recognized Expert Moderator Specialist
    • Feb 2008
    • 2545

    #2
    Please post the on-click code you are using - we cannot help you without it.

    -Stewart

    Comment

    • rwest
      New Member
      • Dec 2011
      • 10

      #3
      I did it as am embedded macro and went through the steps when I placed the button, I didn't write code for it. it opens the floods form Where "[floodid]=" & [floodid]. Do I need to write code for it?

      Comment

      • Stewart Ross
        Recognized Expert Moderator Specialist
        • Feb 2008
        • 2545

        #4
        Shouldn't need to code it if your macros are right, but the use of macros makes it virtually impossible to diagnose faults at this end as we can't see the steps involved or review them against what we would expect to be happening.

        -Stewart

        Comment

        • NeoPa
          Recognized Expert Moderator MVP
          • Oct 2006
          • 32653

          #5
          In short - If you want us to help you then you will need to write code.

          This is not because we're snobby about macros (although you may find I am a little), but because we're in no position to help with macros.

          Comment

          Working...