Evening Peter
Surprise Surprise stupid me couldn’t get your code to work with my test db
After you helped me on my last post I have tried to think a bit more logically
I think there will be 4 main Cases I will have to get over (dare I say we)
Issue 1 Just a URL no AccountNo
Some of our Suppliers have multiple sites that may or may not require sign-in details
If the selected URL has no AccountNo just load the URL
Issue 2 URL AccountNo & Password no UserInitials
One the girls kindly went through the suppliers list today and it appears 70% of the suppliers Sites require User Initials. So hopefully to get round the issue I added a Yes/No field [EmployeeRefReq] and the records have been all updated
Issue 3 URL AccountNo & Password & User Initials
Since my original post I found out about adding the browser control to a frm so rather than using the FollowHyperlink command I now have a frm that contains the browser along with a lot of additional fields 1 of them being a required field [DoneBy] which holds the Employees Initials. Also added and updated was a UserNameLabel like before to store the term used by the supplier
Issue 4 Input Order of AccountNo & Password & User Initials
Not all website follow the input pattern of AccountNo + Password + UserInitials some use UserInitials + AccountNo + Password and all the other combinations in between. Unfortunately I was a wee bit pushed for time and said person from issue 2 was about to lose their will to live after having to update the table so many times. So I punted for a text field named [Order] where the first letter in each appropriate field has been inserted followed by a coma then a space. so to clarify if the order is Account + Password + Employee then it has been inserted as A, P, E,
Taking all of the Cases into account I made up a wee test db PasswordsBrowser.mdb I have removed the Suppliers & Passwords data, I am sure you have some you could use for your own testing
Any question just fire away, has I have now subscribed to my own post!!!!
Stewart