G
Guest
I am selecting a specific record in a form, then trying to write a query to total all records (an amount field) before that record. The record has a SequenceNumber field. I have the SequenceNumber control on the form and type in the query to sum all amounts with the criteria entered as "<forms!formSelect!SequenceNumber". I think I am comparing the same field in the table with the corresponding control on the form. But I get a "Data Type mismatch" error.
Why, and more importantly, how to I write the criteria so it will match?
Why, and more importantly, how to I write the criteria so it will match?