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 - Legacy Development
Forum to discuss SalesLogix legacy development including views, scripts, etc.. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Legacy Development | New ThreadView:  Search:  
 Author  Thread: Legacy Functions.
satz
Posts: 75
 
Legacy Functions.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 May 09 3:46 AM
hi friends,

i am trying to convert the legacy basic scripts to customized vb script .

Legacy Basic scripts has slx functions like GetPropertyOf , GlobalInfoSet , CurrentObjectName, CurrentAccountid etc....
This functions work fine with legacy scripts, but throws up the error in customized Vb script.
Moreover, how can i view the code for legacy functions.

how can i use them up wisely in customized vb script ?
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Legacy Functions.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 May 09 11:42 AM
Some of these functions are no longer needed, some are implemented with the Application.BasicFunctions

For instance, GetPropertyOf and CurrentObjectName dealt with accessing properties of Controls
So, rather than doing GetPropertyOf("txtName", "Text"), now all you do is txtName.Text, similarly, you could do txtName.Name (although that will return a string with "txtName", but it is good to use on a Shared Event handler e.g. Sender.Name

CurrentAccountID, CurrentUserID and GlobalInfoSet can be found under Application.BasicFunctions, although there is an Object to deal with Global Variables.
[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 5:40:12 AM