Hi all,
I could use some advice on the following: I have an inventory table and a related messages table, but the messages table stores messages from various places and the flag used to indicate where the message comes from is doc_category (in this case it would be 'ST' for stock).
So my question is, after I have linked the inventory and stock table, I need an additional SQL clause that says something like "..and where messages.doc_type = 'ST'. Now I cannot find any place in Crystal where I can modify the SQL statement. I thought that this should be a fairly simple to do, anyone can give me some suggestions on how this should be done.
Thanks for any help.
I could use some advice on the following: I have an inventory table and a related messages table, but the messages table stores messages from various places and the flag used to indicate where the message comes from is doc_category (in this case it would be 'ST' for stock).
So my question is, after I have linked the inventory and stock table, I need an additional SQL clause that says something like "..and where messages.doc_type = 'ST'. Now I cannot find any place in Crystal where I can modify the SQL statement. I thought that this should be a fairly simple to do, anyone can give me some suggestions on how this should be done.
Thanks for any help.