I've run into this several times, but I never bothered to figure out the cause or solution.
In GP 9, sometimes when you attempt to add new fields to Visual Basic, the fields will not appear in the VBA editor. The window will appear in the VBA editor, but the fields will not be available in the object drop down list in the code window.
Thankfully David Musgrave solved this long ago in this eggheadcafe.com post.
It seems to be caused by a bad Dynamics.vba file. When I deleted my Dynamics.vba file, the fields added fine.
1 comment:
I am pretty sure I never use eggheadcafe!!! I believe that was taken from one of the public Microsoft newsgroups.
Anyhow the blog post below covers the subject in more detail:
http://blogs.msdn.com/developingfordynamicsgp/archive/2008/08/11/adding-fields-to-vba-stops-working.aspx
David
http://blogs.msdn.com/DevelopingForDynamicsGP/
Post a Comment