Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
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 ThreadView:  Search:  
 Author  Thread: Error occurred executing active form script...Please Help.
Colby Poore
Posts: 3
 
Error occurred executing active form script...Please Help.Your last visit to this thread was on 1/1/1970 12:00:00 AM
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
Top 10 forum poster: 819 posts
 
Re: Error occurred executing active form script...Please Help.Your last visit to this thread was on 1/1/1970 12:00:00 AM
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
Top 10 forum poster: 1226 posts
 
Re: Error occurred executing active form script...Please Help.Your last visit to this thread was on 1/1/1970 12:00:00 AM
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.Your last visit to this thread was on 1/1/1970 12:00:00 AM
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 | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 11:40:39 AM