I'm sure there are more elegant ways to do this but I have a form and lookup table in the Client with a list box the source of which is a lookup table of backend paths. The user highlights the backend path they want, they input the backend file they want to link to in a seperate text box, and the combined results are stored in a textbox control called txtFullPath.
Then there's a command button which deletes the existing link (where "lkpBankAccts" is the linked table):
DoCmd.DeleteObject acTable, "lkpBankAccts"
and creates a new link:
DoCmd.TransferDatabase acLink, "Microsoft Access", Me.txtFullPath, acTable, "lkpBankAccts", "lkpBankAccts".
That's one way to do it, I'm sure there's more. Should get you started.