Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, August 29, 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: Linking from a DataGrid to a specific record
Andrew Fink
Posts: 41
 
Linking from a DataGrid to a specific recordYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Jul 09 9:55 AM
I have a table that shows all of my Service tickets that are bound to opportunities. I would like to find a way to right click or click the record and be taken to the ticket. I know if I can get the ticket id out of the currently selected record somehow I could use the ShowDetails function. Is there a way I could do this with a popup menu?

Thanks,
Andrew
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Linking from a DataGrid to a specific recordYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Jul 09 12:51 PM
Use Double click event
then get the value from the selection and showviewfor record or showmainview for the appropriate table and that ID.


Popupmenu?
Too involved to get into right now....
but yes have a popup menu entry, popup menu event, a way to look up the popup menu item that was selected
then get the value from the selection and showviewfor record or showmainview for the appropriate table and that ID.
[Reply][Quote]
Andrew Fink
Posts: 41
 
Re: Linking from a DataGrid to a specific recordYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Jul 09 1:11 PM
RJ,
Thank you for your reply. The double click method will work just fine, however I am unsure how to get the value from the selection. I think I would use GetFieldValue but I cannot find much documentation on GetFieldValue. Is there a better way?
[Reply][Quote]
Andrew Fink
Posts: 41
 
Re: Linking from a DataGrid to a specific recordYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Jul 09 6:29 PM
Thanks again,
With your answer I refined my search and came up with this post:
http://www.slxdeveloper.com/forum.aspx?forumid=2000&postid=3007#3007

Application.BasicFunctions.ShowDetails "account", datagrid1.GetCurrentField("accountid")

Thanks RJ, Ryan Farley and Brian Kempe!
[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): 8/29/2025 8:17:56 AM