dcx693
Registered User.
- Local time
- Today, 08:38
- Joined
- Apr 30, 2003
- Messages
- 3,265
Hope you guys can help me out here.
I have a select query based on a single table with a few calculated fields. One of the columns takes two previous columns (one of which is calculated, one of which is taken directly from the source table) and subtracts one from the other. Basically the formula is something like:
Result:[ColumnB]-[ColumnA]
The query runs just fine, until I either try to sort the Result column, or if I try to specify a criteria, like >0. Any ideas why? I've checked the syntax and it all seems correct since the query runs fine until I try to sort it specify criteria, then it prompts me for [ColumnA] as if I've tried to specify a parameter (or like what happens when you misspell a field name).
I have a select query based on a single table with a few calculated fields. One of the columns takes two previous columns (one of which is calculated, one of which is taken directly from the source table) and subtracts one from the other. Basically the formula is something like:
Result:[ColumnB]-[ColumnA]
The query runs just fine, until I either try to sort the Result column, or if I try to specify a criteria, like >0. Any ideas why? I've checked the syntax and it all seems correct since the query runs fine until I try to sort it specify criteria, then it prompts me for [ColumnA] as if I've tried to specify a parameter (or like what happens when you misspell a field name).
Last edited: