Hyperlinks

D

Duane

I have a db with about 1100 prisoners in it. I created a field to store the
link to our website. The field is a hyperlink data type.

The website is done in asp. The base
http://www.state.mi.us/mdoc/asp/otis2profile.asp?mdocNumber=. I created an
update query as to concatenate the prisoners number to the base of the url
but it doesn't work. If I copy an url from the website and paste it into
the textbox on my form, it works fine.

UPDATE tblPrisonerInfo SET tblPrisonerInfo.Photo =
"http://www.state.mi.us/mdoc/asp/otis2profile.asp?mdocNumber=" & "" &
[txtNumber]
WHERE (((tblPrisonerInfo.txtNumber)=[txtNumber]));

Any help would be greatly apreciated. Thanks in advance.
 
I

i_takeuti

Duane said:
I have a db with about 1100 prisoners in it. I created a field to store
the
link to our website. The field is a hyperlink data type.

The website is done in asp. The base
http://www.state.mi.us/mdoc/asp/otis2profile.asp?mdocNumber=. I created
an
update query as to concatenate the prisoners number to the base of the url
but it doesn't work. If I copy an url from the website and paste it into
the textbox on my form, it works fine.

UPDATE tblPrisonerInfo SET tblPrisonerInfo.Photo =
"http://www.state.mi.us/mdoc/asp/otis2profile.asp?mdocNumber=" & "" &
[txtNumber]
WHERE (((tblPrisonerInfo.txtNumber)=[txtNumber]));

Any help would be greatly apreciated. Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top