I have 7 forms using the same piece of code to add new records. So I thought I would put it in a module. So I could stop changing it 7 times.
But of course as it can't find the field names as all forms have differnt names.
SO I was thinking maybe I could open some global variables then have the forms could put there data in 2 or 3 of them so the module code could find it.
Alas I can't seam to define any variables that the module code can see.
Any Ideas or A beter way to do this are greatly Aprecaited
Thanks chris
But of course as it can't find the field names as all forms have differnt names.
SO I was thinking maybe I could open some global variables then have the forms could put there data in 2 or 3 of them so the module code could find it.
Alas I can't seam to define any variables that the module code can see.
Any Ideas or A beter way to do this are greatly Aprecaited
Thanks chris