on 10-08-2008 2:06 AM
Hi,
Does anybody in here experienced that when an add-on form is created with a CFL in the matrix, and you closed the form, and then opens the same form again ( by clicking a menu and without exiting the application), the CFL event fires equal to the times you closed the form?
for example i closed the form 3 times, and then when i debug the application, it fires the CFL event also 3 times..
It seems its some kind of creepy bug..
Thanks...
BTW im using SAP B1 2007 A (8.00.175) SP:00 PL:30
Hello Robert,
Does it work fine in the previous or latest version? if yes, there may be a bug in the patch, you may need to update to latest version.
How ever these is a workaround:
Have a CFL counter (lCounter) to count the times of CFL event fired at the beginning of Event handler.
if (lCounter > 3)
Exit Sub
Kind Regards
-Yatsea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI David and Billa,
sorry for taking me too long to respond...
well i controlled the event in the program.. it seems working now fine.. tnx for your support..
Regards Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi...
can u send me the code.
Regards..
Billa 2007
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Billa 2007,
thanx for your suggestion to make the innerevent =false
but it makes the add on form not to show at all. innerevent value is always set as true
regards robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
well, when it's a bug you have not much solutions.
first try a newer patch - that's the easiest way.
if the problem stays you can create your own bool "innerevent" clone (which you set within code to true/false) but that will not solve that the CFL event will be released/fired.
lg David
Hi...
try this one
pVal.InnerEvent = False
Regards...
Billa 2007
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Yatsea,
it seems to be working fine during our upgrade from 2005, i only experience this problem when we upgraded to 2007
yes i did the control in the program but i worry that it would make the programs performance be affected..
tnx for your reply
regards Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Teun
tnx for your reply.When the add on is restarted it works fine but when i close the form and open it again the problem is still arises.
I'm suspecting that there was a variable that was not released,
and the problem is I have no idea what variable should be clear.
i tried to use
GG.Collect()
but still no good
Regards Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Robert,
Maybe your form is still in the memory?! What if you shutdown the addon and restart it??
Or try to clear the objects for test..
Hth.
Regards Teun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
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.