11/26/2024 6:25:50 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
|
|
|
|
opportunity attachment tab error
Posted: 03 Sep 09 5:52 PM
|
hello, when opening the attachments tab in an opportunity, we get the following error: An error occured executing active form script (Opportunity:Attachments) Error calling method AXChangeForm Object doesn't support this property or method: frmAttachment.Parent.DetailsView.LnkAccount at line 24 char 5 We can access the tab and data ok after the error message
Line 24 char 5 in the script is: gStrAccountID = frmAttachment.Parent.DetailsView.lnkAccount.LinkID
We are using version 7.2.0.1501, DB sql server 2005, windows server 2003 sp2, no remotes
Can someone shed some light on this? it would be great to eliminate the error.
thanks!
|
|
|
|
Re: opportunity attachment tab error
Posted: 04 Sep 09 3:38 AM
|
This script relies on the Opportunity Detail view. It is looking for the lnkAccount control. Did you remove, rename or replace the account link on your Opportunity Detail View? You could either undo your change on the Opportunity Detail view, or change the script so that it doesn't rely on this field.
Typically, when dealing with SLX Views and scripts, I rather hide a field than deleting it to avoid this type of issue. Never the less, if you rather just modify the Attachment view to match your changes to your Opportunity Detail view replace line 24 with the following code:
gStrAccountID = GetField("ACCOUNTID", "OPPORTUNITY", "OPPORTUNITYID = '" & grdAttach.BindID & "'") |
|
|
|
Re: opportunity attachment tab error
Posted: 04 Sep 09 11:14 AM
|
Thanks for the reply! It is entirely possible that my predecessor made changes to a standard Opportunity Detail view, which is one of my pet peeves - if you want something custom - make it! and leave the "stock" components alone. (grrr!) I'm working my way through a bunch of "customizations" right now, so I'll see if I can restore the script before changing line 24 (another customization!)
j.d. |
|
|
|
Re: opportunity attachment tab error
Posted: 04 Sep 09 11:18 AM
|
I agree with you, trying to restore the field is probably the safest bet so that you avoid any issues moving forward.
|
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|