on 08-12-2005 12:08 PM
Hi there.
I am writing an add-on that updates a businesspartner form from an external application. I have encountered the following problems, that I have yet to solve:
When I press CANCEL or OK in the businesspartners-form, I get the "Unhandled exception at 0x7c901230 in MPos.exe: User breakpoint" at the location of DispatchMessage(&msg); in the event loop, even though I have no events that should respond to these events... (The eventspy usually registers both the FORM_UNLOAD before and after actions before the application crashes)
Another problem I have, is that when I get the data I need, I can fill in the general info directly in the form, but for the addresses and the contacts, I use the DI, since it would be more complex to do this in the form. This works fine. However, I don't get my form to update/refresh the data! I have tried to call both update and refresh on the form object, and the items (id 112 and 69) but I don't see the changes to addresses and contacts before I open a new BP window...
Anyone that can help with either of these problems?
My C++ debugging has improved lately, so I managed to solve this old problem on my own. Was some buggy code of mine that was the reason for the exceptions.
And I solved the refresh-problem by programming the Form to go into find-mode, enter the appropriate key and simulating a click on ok.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I still haven't worked this out. Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.