473,385 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Updating hyperlink value with another field

1
Hello,
I am new to MS Access (2007) and am trying to create a hyperlink in a table to Google maps without much luck.

The URL I need to use in my hyperlink is http://maps.google.com/maps?&z=14&ll= followed by the longitude and latitude values for my location.

My table has a field ("LL") that holds the Longitude and Latitude values. Each entry in my table will have different LL co-ordinates. I have another field ("Hyperlink") that holds the first part of the URL that does not change.

I need a way of combing these two values in a hyperlink so that when the user clicks on the button, field or text box they will be taken to the Google maps website (and the correct location).

I have tried creating a text box on my form that combines the "hyperlink" and "LL" field values and have set the text box to "Is Hyperlink" equals Yes, but this appears to only display the combined text as a hyperlink but doesn't actually do anything.

I have also tried adding a command button on the form with a hyperlink, however I cannot get the hyperlink to pick up the values of the "LL" field as the Hyperlink SubAddress for the record being displayed on the form. This method does correctly go to Google maps but without any LL co-ordinates.

I have also tried creating a field of type hyperlink in my table but I cannot get that field to combine the values of the "hyperlink" and "LL" fields so it holds a complete URL.

I appreciate your help.
Apr 24 '10 #1
1 3564
ADezii
8,834 Expert 8TB
@Totti
I've Attached a Sample Database for you that will Open Google Maps via Application.Hyperlink. The User can specify a Street Address, City, State, Zip/Postal Code, or Country for the appropriate Map to be brought up. The Fields on the Form are Unbound, but it should be a simple matter to Bind them to Fields (TEXT) in a Table Record Source, then incorporate Longitude and Latitude into the logic. Hope this helps.
Attached Files
File Type: zip Google MAPs.zip (13.2 KB, 294 views)
Apr 24 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Jason | last post by:
Let's say I have an html form with 20 or 30 fields in it. The form submits the fields via POST to a php page which updates a table in a database with the $_POST vars. Which makes more sense? ...
1
by: Newbie | last post by:
OK, this may be impossible since I'm using 3rd party shopping cart ASP software, but I've been able to finagle a lot of other stuff I thought wouldn't work, so here we go: I'm using a form in...
4
by: Tero Partanen | last post by:
Hello! I'm writing about a rather peculiar problem I'm having with Access2000. I have a table in which I have created one hyperlink-type field. I have given the field a default value which is...
5
by: Martin Dew | last post by:
Having some problems getting a hyperlink object to work in my repeater control, It displays the text I have asked it to for the hyperlink, but it does not act as a link. My repeater code is below...
4
by: wrytat | last post by:
I have a form with a textbox for the user to enter a quantity and another textbox for the delivery date. I disabled this delivery date textbox such that the user has to press a calendar link next...
19
by: Joe | last post by:
I have an aspx page (referred to here as page_1) with a datagrid whose first column contains hyperlinks. When a user clicks one of these hyperlinks, he will navigate to another aspx page (referred...
4
by: Geoff | last post by:
Hi I'm hoping somebody can help me with the following problem that has occurred to me. Suppose I have two tables in an SQL Server database. Let's call these tables A and B. Assume that A has...
3
by: Janelle.Dunlap | last post by:
I have an Excel spreadsheet containing a column of hyperlinks that I need to import into Access. I have no trouble importing (in my case actually linking) the spreadhsheet to the Access table,...
2
by: mallz | last post by:
hi, in my table one of the coloumn field has a hyperlink that takes me to another page. but, i needed to restrict the size of the column and so i put in into a text box. But, a new user would be...
1
by: rishiv | last post by:
Hi, I'm using MS Access 2002 SP3 & Visual Basic 6.3 on WinXP Home SP2. I have a table of condition data (5990 records) that relates to information stored in a proprietary application. The...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.