Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, July 5, 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: Grid does not getting updated when performing refresh
Veronka Capone
Posts: 113
 
Grid does not getting updated when performing refreshYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 10 10:45 AM
fiogf49gjkf0d

Hi,


I am adding a new attachment through a .NEt extension app. If attachment added succesfully, I want the attachment tab to be updated automatically and show the newly added attachment in the grid. I tried to refresh all open forms, but it does not solve the problem. I still have to hit F5 to update the attachment grid. (I have SLX 7.53)


How to solve this?


This is what I tried: The code which I used to refresh the forms, taken from this thread:


http://slxdeveloper.com/forum.aspx?forumid=2000&postid=26818#26818


For i = 0 to Application.Forms.Count-1
            MsgBox("here: " + Application.Forms.Item(i).Name)
            If not (Application.Forms.Item(i) is Nothing) then
                Application.Forms.Item(i).Refresh
            End if
Next


Thanks,


- Veronka


 


 

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Grid does not getting updated when performing refreshYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 10 11:04 AM
fiogf49gjkf0d

Use the include RefreshTabMiddleViews from System:SLX_Common. Pass it the plugin (account:attachments) and the control (grdAttachments) for example. Much quicker. As you only refresh what you need to.

[Reply][Quote]
Veronka Capone
Posts: 113
 
Re: Grid does not getting updated when performing refreshYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 10 1:02 PM
fiogf49gjkf0d

Yes, that worked.


Thank you Mike.

[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/5/2025 1:24:08 PM