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 |