Digitalbrit Posted October 5, 2008 Posted October 5, 2008 Hello. Does anyone know if it is possible to use the constrain found set but to specify criteria as a variable? pseudo code example ... action omit records | criteria mytable::myfield: [$$variable] What I suspect is happening is the literal "$$variable" is being entered into myfield rather than the contents of $$variable. I'd prefer to get this working rather than using enter find mode, set fields and omit records ... I'll spare you the details. So, can you use a variable to constrain a found set? If so, how?? Cheers Tim
comment Posted October 5, 2008 Posted October 5, 2008 What I suspect is happening is the literal "$$variable" is being entered into myfield rather than the contents of $$variable. That is correct. Stored criteria can use only constants, not variables or calculations. Why can't you use Set Field[] like the rest of the world does?
Digitalbrit Posted October 8, 2008 Author Posted October 8, 2008 Thanks for clearing that up. Sorted now and way and yes I used setfield. Cheers
Recommended Posts
This topic is 5893 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now