My hidden field returns a VB script error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to use the following hidden field in order to post my db results to my
confimation page -
<input type="hidden" name="TicketID"
value="<%=FP_FieldHTML(fp_rs,"TicketID")%>">

however it is returning the following VBScript error:

Microsoft VBScript runtime error '800a000d'
Type mismatch: 'rs'
/_fpclass/fpdblib.inc, line 48

Help!! I am using this same hidden field on other pages but haven't had
any problems.....
Thank You in advance,
 
Make sure your field name is defined by the DBRW before you use the reference to it

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I need to use the following hidden field in order to post my db results to my
| confimation page -
| <input type="hidden" name="TicketID"
| value="<%=FP_FieldHTML(fp_rs,"TicketID")%>">
|
| however it is returning the following VBScript error:
|
| Microsoft VBScript runtime error '800a000d'
| Type mismatch: 'rs'
| /_fpclass/fpdblib.inc, line 48
|
| Help!! I am using this same hidden field on other pages but haven't had
| any problems.....
| Thank You in advance,
|
 
Yes - it is defined in a sql query. As a result of the script error I am of
course getting a DBR error. However, if I remove the hidden field [which
takes the script error away] I don't get a DBR error, but I also don't
retrieve the record I need. My hidden field is required for what I am trying
to accomplish - I am most confused by the fact that I am using this identical
scenario in other areas of my website, but with no problem. ???
 
Where is the error occurring, on the form page or the processing page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
The script error is occuring on my form page - in preview mode





Thomas A. Rowe said:
Where is the error occurring, on the form page or the processing page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


Stefan B Rusynko said:
Make sure your field name is defined by the DBRW before you use the reference to it

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I need to use the following hidden field in order to post my db results to my
| confimation page -
| <input type="hidden" name="TicketID"
| value="<%=FP_FieldHTML(fp_rs,"TicketID")%>">
|
| however it is returning the following VBScript error:
|
| Microsoft VBScript runtime error '800a000d'
| Type mismatch: 'rs'
| /_fpclass/fpdblib.inc, line 48
|
| Help!! I am using this same hidden field on other pages but haven't had
| any problems.....
| Thank You in advance,
|
 
What happen when you try File Menu | Preview in Browser?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


LaurenMM said:
The script error is occuring on my form page - in preview mode





Thomas A. Rowe said:
Where is the error occurring, on the form page or the processing page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


Stefan B Rusynko said:
Make sure your field name is defined by the DBRW before you use the reference to it

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I need to use the following hidden field in order to post my db results to my
| confimation page -
| <input type="hidden" name="TicketID"
| value="<%=FP_FieldHTML(fp_rs,"TicketID")%>">
|
| however it is returning the following VBScript error:
|
| Microsoft VBScript runtime error '800a000d'
| Type mismatch: 'rs'
| /_fpclass/fpdblib.inc, line 48
|
| Help!! I am using this same hidden field on other pages but haven't had
| any problems.....
| Thank You in advance,
|
 
Also try changing your code to the following:

<input type="hidden" name="TicketID" value="<%=fp_rs("TicketID")%>">

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


LaurenMM said:
The script error is occuring on my form page - in preview mode





Thomas A. Rowe said:
Where is the error occurring, on the form page or the processing page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


Stefan B Rusynko said:
Make sure your field name is defined by the DBRW before you use the reference to it

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I need to use the following hidden field in order to post my db results to my
| confimation page -
| <input type="hidden" name="TicketID"
| value="<%=FP_FieldHTML(fp_rs,"TicketID")%>">
|
| however it is returning the following VBScript error:
|
| Microsoft VBScript runtime error '800a000d'
| Type mismatch: 'rs'
| /_fpclass/fpdblib.inc, line 48
|
| Help!! I am using this same hidden field on other pages but haven't had
| any problems.....
| Thank You in advance,
|
 
I get the same exact error, only it references another page.





Thomas A. Rowe said:
Also try changing your code to the following:

<input type="hidden" name="TicketID" value="<%=fp_rs("TicketID")%>">

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


LaurenMM said:
The script error is occuring on my form page - in preview mode





Thomas A. Rowe said:
Where is the error occurring, on the form page or the processing page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


Make sure your field name is defined by the DBRW before you use the reference to it

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I need to use the following hidden field in order to post my db results to my
| confimation page -
| <input type="hidden" name="TicketID"
| value="<%=FP_FieldHTML(fp_rs,"TicketID")%>">
|
| however it is returning the following VBScript error:
|
| Microsoft VBScript runtime error '800a000d'
| Type mismatch: 'rs'
| /_fpclass/fpdblib.inc, line 48
|
| Help!! I am using this same hidden field on other pages but haven't had
| any problems.....
| Thank You in advance,
|
 
Do you have the recordset (fp_rs) open on the form page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


LaurenMM said:
I get the same exact error, only it references another page.





Thomas A. Rowe said:
Also try changing your code to the following:

<input type="hidden" name="TicketID" value="<%=fp_rs("TicketID")%>">

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


LaurenMM said:
The script error is occuring on my form page - in preview mode





:

Where is the error occurring, on the form page or the processing page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


Make sure your field name is defined by the DBRW before you use the reference to it

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I need to use the following hidden field in order to post my db results to my
| confimation page -
| <input type="hidden" name="TicketID"
| value="<%=FP_FieldHTML(fp_rs,"TicketID")%>">
|
| however it is returning the following VBScript error:
|
| Microsoft VBScript runtime error '800a000d'
| Type mismatch: 'rs'
| /_fpclass/fpdblib.inc, line 48
|
| Help!! I am using this same hidden field on other pages but haven't had
| any problems.....
| Thank You in advance,
|
 
Yes - but in a separate form.....




Thomas A. Rowe said:
Do you have the recordset (fp_rs) open on the form page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


LaurenMM said:
I get the same exact error, only it references another page.





Thomas A. Rowe said:
Also try changing your code to the following:

<input type="hidden" name="TicketID" value="<%=fp_rs("TicketID")%>">

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


The script error is occuring on my form page - in preview mode





:

Where is the error occurring, on the form page or the processing page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


Make sure your field name is defined by the DBRW before you use the reference to it

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I need to use the following hidden field in order to post my db results to my
| confimation page -
| <input type="hidden" name="TicketID"
| value="<%=FP_FieldHTML(fp_rs,"TicketID")%>">
|
| however it is returning the following VBScript error:
|
| Microsoft VBScript runtime error '800a000d'
| Type mismatch: 'rs'
| /_fpclass/fpdblib.inc, line 48
|
| Help!! I am using this same hidden field on other pages but haven't had
| any problems.....
| Thank You in advance,
|
 
You have to open it on the page you are using it on, unless your store it in a session variable
first on the previous page and then call the session variable.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


LaurenMM said:
Yes - but in a separate form.....




Thomas A. Rowe said:
Do you have the recordset (fp_rs) open on the form page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


LaurenMM said:
I get the same exact error, only it references another page.





:

Also try changing your code to the following:

<input type="hidden" name="TicketID" value="<%=fp_rs("TicketID")%>">

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


The script error is occuring on my form page - in preview mode





:

Where is the error occurring, on the form page or the processing page?

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


Make sure your field name is defined by the DBRW before you use the reference to it

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I need to use the following hidden field in order to post my db results to my
| confimation page -
| <input type="hidden" name="TicketID"
| value="<%=FP_FieldHTML(fp_rs,"TicketID")%>">
|
| however it is returning the following VBScript error:
|
| Microsoft VBScript runtime error '800a000d'
| Type mismatch: 'rs'
| /_fpclass/fpdblib.inc, line 48
|
| Help!! I am using this same hidden field on other pages but haven't had
| any problems.....
| Thank You in advance,
|
 
Back
Top