Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, January 20, 2020 
 
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!
 External Development Forums - Design & Architecture Topics
Forum to discuss designing applications to work with SalesLogix. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Design & Architecture Topics | New ThreadView:  Search:  
 Author  Thread: Application Architect - Using VB Snippet in 7.5 Web to Update a record
Andrew Sokolsky
Posts: 26
 
Application Architect - Using VB Snippet in 7.5 Web to Update a recordYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Dec 08 1:23 PM
I am currently using SalesLogix 7.5 Web. I have created an new table called Account_Roles that has a UserName field that I want to be updated with the UserID from the UserInfo table based on a join on UserName. How would I go about writing the code for this snippet in VB?

Thanks.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Application Architect - Using VB Snippet in 7.5 Web to Update a recordYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Dec 08 12:58 AM
You don't exactly need code for this. This is handled by the relationship. You'll create the property on the Account_Roles entity to store the userid. Then you'll create the relationship on that field to the User entity. If you wanted to write that value via code you'd just get a reference to the current Account_Roles object and set the property. Does that make sense? if you had a Lookup on a form on the Account_Roles entity then you'd just bind it up to the relationship object property.

Does that make sense?
[Reply][Quote]
Andrew Sokolsky
Posts: 26
 
Re: Application Architect - Using VB Snippet in 7.5 Web to Update a recordYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Dec 08 12:17 PM
I'll try that. Thanks.
[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 © 2020 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): 1/20/2020 6:40:20 AM