Hey there,
I have a query named TestQuery that runs fine and gives me the results I want:
Code:
SELECT TradeDate, EntryTime, Direction, Symbol, Shares, TrailStop, StopLoss, R10, ATR, ROUND(TrailStop/ATR, 2) AS TS_ATRRatio, ROUND(TrailStop/R10,2) AS TS_R10Ratio, cTradePL, Pattern, Notes, EntryOrder, ExitOrder
FROM StockTrades
WHERE Mistakes LIKE "*Tight*";
Then, I copy that query using Ctrl+C, Ctrl+V and give it a new name, qryTightExitsbyExitOrder.
When I run that copied query, it comes up with a prompt for the TestQuery.Symbol and all of the other values. But there's no reference in the second query to TestQuery!
I've tried this a couple of times and it always malfunctions the same way. Copying and pasting the code into the second query still malfunctioned.
I did get it to work as expected by copying and pasting the code into a new query and saving that new query as the second query name, replacing that second malfunctioning query.
What gives???
Cheers,
Eric