You need to use the correct naming convention for the way your page names the fields and valid field names
- 'fp_rs' was an example not a requirement
- type mismatch means there is a syntax error in the field or recordset name you used
--
| Thanks for the below. Code looks fine now. When i preview in browser i get
| the following now:
|
| 'The Page cannot be displayed
|
| Error Type:
| Microsoft VBScript runtime (0x800A000D)
| Type mismatch: 'fp_rs'
| /MCProductInfo.asp, line 70
|
| Browser Type:
| Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
|
| Page:
| GET /MCProductInfo.asp
|
| Thanks in advance.
|
| "Stefan B Rusynko" wrote:
|
| > The DBRW won't do it for you
| > - but you can hand code it if you know your DB field names and the page has already called them
| > For example to replace the email and subject (from fields named email and subject) in the prior example use
| >
| > <a href="mailto:<%=fp_rs("email")%>?subject=<%=fp_rs("subject")%>&body=Here's a good one
| > &
[email protected] &
[email protected]> Great Article Idea </a>
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| >
http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > | Hi there,
| > |
| > | Many thanks for your reply. Unfortunately from the code you have shown
| > | below, it only shows how to pre place text. I need to be able to place in a
| > | variable field that has already been returned from the access db to my DRW
| > | section on the same page on entry of the page.
| > |
| > | Any ideas.
| > |
| > | Cheers
| > |
| > | "clintonG" wrote:
| > |
| > | > Advise you or write the code for you?
| > | >
| > | > I can advise you. The mailto: takes several querystring values that can be
| > | > used to populate the subject and other attributes with data. This pseudo
| > | > example...
| > | >
| > | > <a href="mailto:
[email protected]?subject=New Article &body=Here's a good one
| > | > &
[email protected] &
[email protected]> Great Article Idea </a>
| > | >
| > | >
| > | > <%= Clinton Gallagher
| > | > METROmilwaukee (sm) "A Regional Information Service"
| > | > NET csgallagher AT metromilwaukee.com
| > | > URL
http://metromilwaukee.com/
| > | > URL
http://clintongallagher.metromilwaukee.com/
| > | >
| > | >
| > | >
| > | > | > | > >I currently have a mailto: hyperlink within my ASP DRW Page to request for
| > | > > more information.
| > | > >
| > | > > I want to be able to populate the Subject Header of the email with one of
| > | > > the already existing DRW field values coming in from my access database.
| > | > >
| > | > > Please could somebody advise me of this.
| > | > >
| > | > > Thanks
| > | >
| > | >
| > | >
| >
| >
| >