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: If no records then display message
SLX_Novice
Posts: 246
 
If no records then display message Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 May 11 12:52 PM
fiogf49gjkf0d

Hi all.


We have SLX LAN v7.2.1 and I'm trying to show a temporary group displaying the results based on cmbField.Text, but if there aren't any records I would like to display a message and not display the blank page that appears when there aren't any results. The code below is in the OnClick event of a button. Any suggestions?


<p>Dim strSQL
Dim StartingID

 


strSQL = "(Select ACCOUNTID FROM C_myTable WHERE myField = '" & cmbField.Text & "')"


StartingID = ""


Application.BasicFunctions.CreateTempGroup "ACCOUNT", "My Temp Group", "ACCOUNTID", " IN ", strSQL,StartingID

[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 2:53:26 AM