Normal Topic Selecting records based on multiple elements (Read 774 times)
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Selecting records based on multiple elements
Aug 7th, 2018 at 8:58pm
Print Post Print Post  
I'm building a simple report but I need to attach a Retrieve Spec that will select records based on either of two elements having data. 

Is there some way to connect the Search Menu command to the report?

Or, is there some way to invoke one of the Retrieve Specs via programming?  I'm able to invoke the "Meet Any Requirements" command via programming but I don't know how to invoke a specific retrieve spec via programming.

Any help would be appreciated!

  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: Selecting records based on multiple elements
Reply #1 - Aug 7th, 2018 at 9:09pm
Print Post Print Post  
Hi Paul,

When you save a Retrieve spec it saves whether you have Any or All selected. Once it's saved, just attach it to the report.

You can also load a retrieve spec in programming with @LoadRetrieveSpec()

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged