Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Code executed on setting ModalResult
Eugene
Posts: 6
 
Code executed on setting ModalResultYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Apr 06 7:59 AM
fiogf49gjkf0d
When ModalResult is assigned mrOK, some custom code is run, Profiler captures the queries it makes. But I can't figure out where this code is stored. Can anybody give me a hint as to how the ModalResult property works? What procedure is called when the property's value is set? Thanks.
[Reply][Quote]
Timmus Agersea
Posts: 328
 
Re: Code executed on setting ModalResultYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Apr 06 11:10 AM
fiogf49gjkf0d
This is likely the code that launches the form, not the code behind the form. For example. there may be code associated to the menu item that launches the form that checks to see how the user closed the form.

Timmus
[Reply][Quote]
Eugene
Posts: 6
 
Re: Code executed on setting ModalResultYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Apr 06 10:00 AM

naloxone and naltrexone

naloxone vs naltrexone ps.portalavis.net
fiogf49gjkf0d
It is Add Account Screen that causes the code to be run. The Insert Contact/Account menu calls Insert:ContactAccount but it seems to be built in. However, when Add Account Screen is closed, quieries are executed that reference a custom table. I have no clue how to find where these queries are created.
[Reply][Quote]
Timmus Agersea
Posts: 328
 
Re: Code executed on setting ModalResultYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Apr 06 10:22 AM

otc inhaler for wheezing

albuterol sulphate link
fiogf49gjkf0d
My development server which runs my virtual machines just crashed last night so I currently have no means of tracking this down for you. However, if memory serves me correctly, you want to look into global scripts. Global scripts enable you to handle function calls such as "Insert:ContactAccount". You should find a Global Script that launches the form you are working with.

Also note that there is an initial form where the user chooses whether or not they are add a new contact for new account, new contact for existing account, etc. Have you checked the code behind that form?

Timmus
[Reply][Quote]
Eugene
Posts: 6
 
Re: Code executed on setting ModalResultYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Apr 06 12:32 PM

buy naltrexone canada

buy naltrexone online cheap read low dose naltrexone buy

uses for naltrexone

naltrexone alcoholism medication
fiogf49gjkf0d
I've searched System:Insert New ContactAccount, System:Add_Contact_And_Account, and System:Global Contacts but I didn't find anything that could be responsible for those queries.
System:Add_Contact_And_Account calls AddContactAndAccount, which is a built-in procedure. But I wish I knew how AddContactAndAccount calls that custom code. Or does something else do it?
[Reply][Quote]
Timmus Agersea
Posts: 328
 
Re: Code executed on setting ModalResultYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Apr 06 1:08 PM
fiogf49gjkf0d
What are the queries, Eugene? Are you talking about inserts? If so this is probably just the databinding engine. Do you have controls on the forms that are bound to the custom tables in question?
[Reply][Quote]
Eugene
Posts: 6
 
Re: Code executed on setting ModalResultYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 06 6:46 AM
fiogf49gjkf0d
Thank you, Timmus! Of course, it's automatic inserts. Sorry, I stole your time.
[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/25/2024 11:25:44 PM