Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, July 6, 2025 
 
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: Passing variables from one form to another
Amer
Posts: 10
 
Passing variables from one form to anotherYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 May 10 1:35 PM
Hi,

I am calling the "Schedule Meeting" form from another form called "Sales" using this code:

Application.BasicFunctions.DoInvoke "Function", "Schedule:Meeting"

On the "Sales" form, I have some common fields that I want to pass the "Schedule Meeting" form.

How can I for example pass the "Duration" field value from my "Sales" form to the "Duration" field value in the "Schedule Meeting" form?

Any help would be appreciated.

Thanks
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Passing variables from one form to anotherYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 May 10 7:42 AM
GlobalInfo variables
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Passing variables from one form to anotherYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 May 10 11:17 AM
Or invoke the form as a main view - then you get a handle to the form which you can use to pass info from one to another. Feels a bit 'tighter' than using GVs to me ...
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Passing variables from one form to anotherYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 May 10 7:01 AM
Too loosey goosey pour moi. Can't main view launch a managed form...and heaven forbid if you change the name of a control...
[Reply][Quote]
satz
Posts: 75
 
Re: Passing variables from one form to anotherYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 May 10 4:22 AM
Hi Amer,

If "Schedule meeting" form is customizable, Try the following code on Schedule meeting form:

Dim Salesfrm
Set Salesfrm= Application.Forms("System( Family ): Sales (Form name)")
Schedulemeeting_Duration = Salesfrm.Durationfield.text
Set Salesfrm= nothing


The code explains:

From the Schedulemeeting form, You are calling the sales form and accessing its duration field value.
[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 © 2025 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): 7/6/2025 3:58:17 AM