Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Beng79
  • Order by date
  1. Beng79

    Type mismatch for "hidden" input type

    The recordset should be recstMod, I have corrected it. I have also added in Option Explicit. But the error msg still exist. Now the code looks like this for ModifyFeatures_verify.asp: <form method="post" action="Modify Features.asp"> <input type="hidden" name="FeatID" value="<% =...
  2. Beng79

    Type mismatch for &quot;hidden&quot; input type

    What do you mean by out of scope? What should it be replaced with in terms of coding?
  3. Beng79

    Type mismatch for &quot;hidden&quot; input type

    Hi all, I have used Querystring to display the list for editing: Modify Features.asp <% recstMod.Open "SELECT * from FuncFeat", connectMod Do While Not recstMod.EOF Response.Write(recstMod("FeatName")) & "<a href='ModifyFeatures_verify.asp?FeatID=" & recstMod("FeatID") & "'> Edit</a><br>"...
  4. Beng79

    Align using QueryString

    The HTML output is as below (sorry,its a long one): <!- - #include file= "adovbs.inc" - -> <%@ Language = "VBScript" %> <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta...
  5. Beng79

    Align using QueryString

    Sorry, I have posted the problem in the HTML/CSS forum
  6. Beng79

    What does input type=&quot;hidden&quot; mean?

    Hi all, <input type="hidden" name="FeatID" value="<% = rs("FeatID") %> as of the code above, what is the meaning of input type="hidden"? When is it normally used in? How is it different from input type="submit"? Thank you
  7. Beng79

    Align using QueryString

    Hi all, I have posted the problem in the ASP forum before, and was directed here. I have the following script using QueryString: <% Dim connectDel, recstDel Dim FeatureID Set connectDel = Server.CreateObject("ADODB.Connection") connectDel.Open("DRIVER={Microsoft Access...
  8. Beng79

    Align using QueryString

    Audio Control Delete ATS Delete ACI Delete Video Control Delete The output: HDMIDelete Smart SoundDelete Plug and PlayDelete PIPDelete PIPDelete Digital Module ControlDelete Smart SurfDelete SarnoffDelete Service ControlDelete Factory ControlDelete Hotel ModeDelete Close CaptionDelete Smart...
  9. Beng79

    What does input type=&quot;hidden&quot; mean?

    Hi all, <input type="hidden" name="FeatID" value="<% = rs("FeatID") %> as of the code above, what is the meaning of input type="hidden"? When is it normally used in? How is it different from input type="submit"? Thank you
  10. Beng79

    Align using QueryString

    Hi all, how can I properly align a list shown using QueryString since now its all centre align and there is no spacing between the delete link and "FeatName"? Pls refer to thread333-1196584 for the script that I have posted earlier. Any help is appreciated.
  11. Beng79

    Querystring error

    Ok, it works for me now. Thank you By the way, how can I add one more column(except FeatID) from the DB table other than the "FeatName" so it can also be listed as well? Another thing is how can I properly align the list shown since now its all centre align and there is no spacing between the...
  12. Beng79

    Error message in deleting recods from database using with checkboxes

    Ok, it works for me now. Thank you By the way, how can I add one more column(except FeatID) from the DB table other than the "FeatName" so it can also be listed as well? Another thing is how can I properly align the list shown since now its all centre align and there is no spacing between the...
  13. Beng79

    Querystring error

    Oops, forget to mention its a primary key of the table too. Does this contributes to why there is an error?
  14. Beng79

    Querystring error

    recstDel is a recordset object and I have declare it in the 1st line: Dim connectDel, recstDel By the way, my FeatID in the table in Access DB is of datatype "Auto Number
  15. Beng79

    Error message in deleting recods from database using with checkboxes

    mmy script is customised to: <% Dim connectDel, recstDel Dim FeatureID Set connectDel = Server.CreateObject("ADODB.Connection") connectDel.Open("DRIVER={Microsoft Access Driver (*.mdb)};" _ & "DBQ=" & Server.MapPath("Estimation.mdb")) FeatureID = Request.QueryString("FeatID")...
  16. Beng79

    Querystring error

    Hi all, I am trying to run a delete script with a list shown and a delete link next to them. The list is shown and the FeatID is to be passed over to another script for request.querystring <% Dim connectDel, recstDel Dim FeatureID Set connectDel = Server.CreateObject("ADODB.Connection")...
  17. Beng79

    Error message in deleting recods from database using with checkboxes

    Got this error when try to run the below script you gave: ______________________________________________________ FeatID=Request.QueryString("FeatID") rs.Open "DELETE * FROM FuncFeat WHERE FeatID=" & FeatID, DB Set rs=Nothing Set DB=Nothing Response.Redirec("list.asp")...
  18. Beng79

    Error message in deleting recods from database using with checkboxes

    I try to run the delete script, but have this error: Error Type: Microsoft VBScript compilation (0x800A0401) Expected end of statement /project/Delete Features.asp, line 119, column 110 Response.Write(recstDel("FeatName")) & "<a href='delete.asp?FeatID=" & recstDel("FeatID") &...
  19. Beng79

    Error message in deleting recods from database using with checkboxes

    Just wanted to know, can I used it for modifying of records one at a time from the database too?
  20. Beng79

    Error message in deleting recods from database using with checkboxes

    Yup, my intention is that. I will try it out and feedback whether it works. Thank you.

Part and Inventory Search

Back
Top