Where can I find information on how to add a button to a Great Plains form that will open another form and pass a key field? It seems straightforward - but I am not getting anywhere. Is this something that would have to be done with Dexterity or would Modifier / VBA be able to do this.
I have a form on which I already have some VBA that and one custom button, and the VBA code takes the key field from the form and passes it to a URL and shells out to a browser and all that works well
Now I need to add a button that will open another GP form and pass the key field. I have added a button and added code to the AfterChanged event of the button (I have not even attempted to pass the key field yet, I just want to see how to open the form:
MyFormName.Show
This compiles in VBA editor. The Form I am trying open is from another VBA project, MekormaMICR, and I added that reference to the Dynamics project and when I type the form name and then the period, Intellisense provides me all the methods, so VBA is recognizing the call I am making to this form
However when I try to click the button when running the modified form I get an "Object Not Available" run-time Microsoft Visual Basic error
So - am I on the right path? Can someone point me in the right direction?
Thank you
*This post is locked for comments