Good Day,
This is my first post so apologies for naivety or breaking protocol. I think I want to write an aggregate function in VBA that I can call in MSAccess SQL. An example
x name
— ——-
a Alice
b Alice
a Fred
a Fred
Select name, myFunction(x) from MyTable group by name;
Suppose I want myFunction to return 1 if