Normal Topic Search Button (Read 2349 times)
actiontech
Full Member
***
Offline



Posts: 173
Joined: Apr 10th, 2016
Search Button
Jun 6th, 2016 at 2:02pm
Print Post Print Post  
I found this useful coding was lacking from the Command Button Code Builder options in Sesame Designer. (Command Button > Code Builder > Spec Tasks > Retrieve Matching Records?)

Code
Select All
var vTmp as Int

	//Back to Search Mode from Add data Mode

	If @Mode() = 0
	{
		vTmp = @SelectTreeItem("Add Data Menu!Navigation!Switch to Search Mode (F7)")
	}

	//Back to Search Mode from Update Mode

	Else If @Mode() = 1
	{
		vTmp = @SelectTreeItem("Search Update Menu!Search (F7)")
	}

	//Retrieve Matching Records (Current Spec) from Search Mode

	Else If @Mode() = 2
	{
		vTmp = @SelectTreeItem("Search Menu!Search Commands!Retrieve New Results (F10)")
	} 

  
Back to top
 
IP Logged