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!
|
|
Application Architect - Using VB Snippet in 7.5 Web to Update a record
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. |
|
|
|
Re: Application Architect - Using VB Snippet in 7.5 Web to Update a record
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? |
|
|
| |
|