Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Tuesday, November 26, 2024
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
11/26/2024 11:26:19 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!
Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to General Administration
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Error occurred executing active form script...Please Help.
Colby Poore
Posts: 3
Error occurred executing active form script...Please Help.
Posted: 14 Jan 09 12:11 PM
I have a user recieving the following error when trying to add a ticket item.
"An error occurred executing active form script (System:AddEdit Ticket Activity). Error calling method AXFormAfterPost.
Type Mismatch: "cDbl"
at line 281, char 14"
I have ensured that he is running the correct client with service packs installed. Other than that, I have not been able to find any information on this error message.
Thanks in advance for any assistance.
[
Reply
][
Quote
]
Phil Parkin
Posts: 819
Re: Error occurred executing active form script...Please Help.
Posted: 15 Jan 09 2:07 AM
A brief investigation suggests that the following line is causing the trouble:
dblAmount = cDbl(txtLabor.Text)
'txtLabor' is the 'Total Labor' entry.
This is being executed because there is a contract associated with the ticket with a type of VALUE or HOURS. It's not an area that I am very familiar with, but it's definitely related to data. Something is missing.
Phil
[
Reply
][
Quote
]
Mike Spragg
Posts: 1226
Re: Error occurred executing active form script...Please Help.
Posted: 15 Jan 09 3:09 AM
What this means is that something the field that Phil references is being loaded with a textual value- rather than a number. I'm not sure how this is - but you should investigate why/how this is happening or, failing that, code around it !
If IsNumeric(txtMyField) then
x = cdbl(MyField.Text)
End If
For example.
Mike
[
Reply
][
Quote
]
john
Posts: 34
Re: Error occurred executing active form script...Please Help.
Posted: 15 Jan 09 7:12 AM
If the textbox is empty, then a type mismatch will occur.
[
Reply
][
Quote
]
Page 1 of 1
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!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 11/26/2024 11:40:39 AM