I have a "Locations" module that contains procedures for individual locations. When ever the company adds a new site, I have to copy/paste an existing procedure in the "Locations" module. I then change the location_id in the procedure to process the new location and rename the procedure to the new location.
It will always be the exact same code with the exception of the location_id. Can this be automated??? Could a procedure be written that the user passes in a variable(Location_ID) and the program writes it's own code???
Just curious...
It will always be the exact same code with the exception of the location_id. Can this be automated??? Could a procedure be written that the user passes in a variable(Location_ID) and the program writes it's own code???
Just curious...