I have many tables that use the same field names and in my queries I always add a formula to concatenate those fields into an account number.
Could anyone help me figure out how to automate this in a public function? I learning VBA but am not too knowledgable yet on creating my own functions, how to declare the variables and whether the function would need to reference the query name or not.
The fields are GMFUND, GMDPT, GMDIV
My formula in my queries is GMACFM: [GMFUND] & "-" & [GMDPT] & [GMDIV]
Thanks for the help!
Could anyone help me figure out how to automate this in a public function? I learning VBA but am not too knowledgable yet on creating my own functions, how to declare the variables and whether the function would need to reference the query name or not.
The fields are GMFUND, GMDPT, GMDIV
My formula in my queries is GMACFM: [GMFUND] & "-" & [GMDPT] & [GMDIV]
Thanks for the help!