Newbies MAJ31 Posted January 29, 2002 Newbies Posted January 29, 2002 Hi, I am working on a solution to pull data out of our IMAGE database into FM v5.5. Pulling the data out of IMAGE isn't a problem, but I am not sure how to make the query I want dynamic. Here is a cut down version of the query: SELECT WOSHT.SHTWO, WOSHT.SHTPN, IM.DESC, WOSHT.SHTQTY, IM.SCODE FROM MANDB.IM IM, MANDB.WOSHT WOSHT WHERE WOSHT.SHTPN = IM.ITNO AND ((WOSHT.SHTWO='123456')) Instead of hardcoding '123456' I would like to use a global FM field. In summary, I want to query an IMAGE database from FM using a FM field as the variable. Is this possible?
Peterh Posted February 21, 2002 Posted February 21, 2002 I had this problem a while ago. What was suggested to me was to put the SQL code into a calculated field. That way you can have your SQL code in one field accessing variable data from another field. Cheers.
Recommended Posts
This topic is 8309 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