Okay so Ive got a problem / issue...
I have an form in access, and I want a button that when clicked will open a webpage with values from the form in the URL...
How the hell do i do it?
Okay so Ive got a problem / issue...
I have an form in access, and I want a button that when clicked will open a webpage with values from the form in the URL...
How the hell do i do it?
Not that I know how to work with forms in Access, but I'm assuming you're able to name controls and handle events and so on. If that's the case, then you can do something along the lines of:
Hopefully that works.Code:Private Sub LinkButtonName_Click() Dim strHyperlink 'As String 'Uncomment if it won't cause errors 'Define the URL, using information from the form's fields strHyperlink = "http://your.url.blah/?id=" & FormTextBox1.Text strHyperlink = strHyperlink & "&desc=" & FormTextBox2.Text 'Open the URL using the system's default browser Shell(strHyperlink) End Sub![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)