Newbies knopf Posted January 14, 2007 Newbies Posted January 14, 2007 Hi. Somehow I can't get this to work: I have two tables: A, B. Table A is related to table B via the key X, which is of type Text. I would like to display all records of table A that equal to the text "dummy". In SQL this is equivalent to "select * from A where X = 'dummy'". I can get this to work as long as I enter the text directly in the find window in the script editor, however, I can't get it to work when I use a script parameter or a variable. How do I get it down statically: // works A::X =dummy How do I want to get it done: // doesn't work - I checked, it's the right parameter there A::X =Get(ScriptParameter) // doesn't work either Set Variable ($dmy, Value:Get(ScriptParamter)) Find ( A::X = $dmy) This works, but I would like to do a direct query: Enter Find Mode[] Set Field ... What can I do, please? Thanks.
Newbies knopf Posted January 14, 2007 Author Newbies Posted January 14, 2007 Btw. this does also not work Set Variable[$dmy, Value:"Dummy"] Perform Find[A::X =$dmy] sorry, but I have no clue...
comment Posted January 14, 2007 Posted January 14, 2007 Perform Find[] only works with static (stored) criteria. Try: Enter Find Mode [] Set Field [ A::X ; "Dummy" ] Perform Find []
Recommended Posts
This topic is 6523 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