Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, November 30, 2024 
 
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 - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Data link property?
Kevin Ferguson
Posts: 9
 
Data link property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Nov 07 8:22 AM
Does anyone know of a way that I can determine the Data link of a control? I need to be able to see which Table/Column a control is linked to in order to validate it.
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Data link property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Nov 07 12:50 PM
The LINKID property should have the return of the Lookup's LookupID property returned to it.....if that is in fact a RowID for the table being looked up then you can run a SQL statement to determine if that is actually a valid selection......
[Reply][Quote]
Kevin Ferguson
Posts: 9
 
Re: Data link property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Nov 07 8:54 AM
Thanks for the reply, but it's not quite what I'm looking for. Further investigations and searching the forums have thrown up the fact that the active controls do not have a property which reproduces the Legacy DataPath property. I'm attempting to write a simple rules engine that uses Regular Expressions to validate data in a control by looking up the rule for the column the control is bound to.

I have a feeling I'll need to make a request to Sage on this one...
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Data link property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Nov 07 9:25 AM
That's correct. You have to explicity name the linkid in a script.....can't you have the scripter call your data validater OnPopupReturn?
[Reply][Quote]
Kevin Ferguson
Posts: 9
 
Re: Data link property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Nov 07 5:48 AM
I could, but that then negates what I'm really trying to achieve. I'd like to be able to iterate a control collection, and validate the fields by looking up the relevant Regular Expression in a table. Without the data link value being visible, it looks like I'll have to check every control in code.
[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 © 2024 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): 11/30/2024 10:34:29 AM