Kinda re-inventing the wheel here, but I suppose it would be possible if you devote a ton of resources to it.
Alternatively, have a look at the many solutions already out there....
This filemaker forum (for example) uses another product to handle this function...
Thanks mwc for the response and the suggestions for alternatives. I have had a look at the suggested solutions and they appear to give a simple solution without taking too much time!