Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filter Property of TTables

Status
Not open for further replies.

jhames

IS-IT--Management
Jun 28, 2000
2
US
Every time I try to add a filter that compares the value of one field to another field, I get this error that says " Filter not terminated properly".
Example: 'Quantity in Stock' < 'Reorder Level'
What am I doing wrong?
 
The Filter is a String - the error message sounds as if you're not entering a string correctly.
If you're comparing 2 field values - just use something like Field1 < Field2 - I don't think there's any call for the single quote marks if you're using them.
If this isn't the problem then please indicate the exact syntax of the filter so we can make further suggestions.
Hope this helps ....
Steve
 
Steve,

Thanks for the response. You were correct on the quote marks but it still did not work. However, the answer was on the bottom line of the help page concerning filters. The property does not allow comparisons of fields in local tables. In my haste, I just overlooked this statement.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top