Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, June 18, 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: RefreshMainView...
Kevin Austin
Posts: 105
 
RefreshMainView...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Apr 07 3:36 AM
fiogf49gjkf0d
... doesn't work! Any work around?

Cheers
Kevin
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: RefreshMainView...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Apr 07 10:50 AM
fiogf49gjkf0d
RefreshMainView does work, but the results are often misunderstood (ie: expecting it to do something else). What is your scenario that you're trying to do so we can come up with the correct approach?

Ryan
[Reply][Quote]
Kevin Austin
Posts: 105
 
Re: RefreshMainView...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Apr 07 3:40 AM
fiogf49gjkf0d
Hi Ryan,

To put it in basic terms, there is a field on the main account view that is edited from a popup dialog triggered from a button. The form is launched, the users edit what they want edited and then click ok. Previously using the legacy form's RefreshMainView function, the form would close and the field on the main account screen would refresh showing the changes the user has made.

Since I've converted the screen to VB Script and am now using the Application.BasicFunctions.RefreshMainView functionality, when the form closes the field on the main account view doesnt update

[Reply][Quote]
Kevin Austin
Posts: 105
 
Re: RefreshMainView...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Apr 07 3:41 AM
fiogf49gjkf0d
We are talking about one field in question here stored in an edit box (not a data grid) just for the record!
[Reply][Quote]
Kris Halsrud
Posts: 88
 
Re: RefreshMainView...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Apr 07 9:16 AM
fiogf49gjkf0d
Kevin would something like this perhaps work?
http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=32

If you launch your popup form as using a mainview and then check the modal result of the main view, you could then set the value on the detail veiw directly.

You might also try form.refresh, where form is the name of the form of your account detail view.
[Reply][Quote]
Kevin Austin
Posts: 105
 
Re: RefreshMainView...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Apr 07 10:52 AM
fiogf49gjkf0d
Kris, you hit it on the nail with the form.refresh, can't believe I didn't think of that myself. Cheers Kev
[Reply][Quote]
Yup.
Posts: 126
 
Re: RefreshMainView...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Apr 07 1:13 PM
fiogf49gjkf0d
This is slightly off topic, but I am trying to figure out how to refresh a custom form. I have a datagrid on the form that I would like to refresh/ update when the user clicks save so that they can see what they just entered. Is this possible?
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: RefreshMainView...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Apr 07 1:23 PM
fiogf49gjkf0d
DataGrid.Refresh. Form.Refresh is the equivalent of clicking OK, navigating to the record in a grid, then clicking Edit. While that CAN reload a grid (by rebuilding it), it'll never be as fast as refreshing the grid itself.
[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): 6/18/2025 2:21:23 AM