C ckirmser Registered User. Local time Today, 16:54 Joined Oct 1, 2004 Messages 41 Jan 23, 2008 #1 Hello, group! Does anyone have a painless way to do modulos in a query? Either in the Expression Builder or the criteria, either will work for me. Thanx!
Hello, group! Does anyone have a painless way to do modulos in a query? Either in the Expression Builder or the criteria, either will work for me. Thanx!
chergh blah Local time Today, 22:54 Joined Jun 15, 2004 Messages 1,414 Jan 23, 2008 #2 It's probably easiest to do in sql view Code: SELECT [field_name] mod [2nd field or number] As Mod_Result From Table_name The [field_name] is the number to be divided, [2nd field or number] is the divisor. When you run the query the modulus will be given in the recorset.
It's probably easiest to do in sql view Code: SELECT [field_name] mod [2nd field or number] As Mod_Result From Table_name The [field_name] is the number to be divided, [2nd field or number] is the divisor. When you run the query the modulus will be given in the recorset.
C ckirmser Registered User. Local time Today, 16:54 Joined Oct 1, 2004 Messages 41 Jan 28, 2008 #3 Thanx, chergh! I'll give that a try.