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 strongm 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: hamish75
  • Content: Threads
  • Order by date
  1. hamish75

    Frameset Horizontal Scroll

    I have a frameset where one of the frames links to an external link. The external link page is wider than the frame and is causing a horizontal scroll bar in Internet Explorer but not in Firefox. I want to remove the Horizontal scrolling completely. I’ve spent an eternity trying to find the...
  2. hamish75

    Passing a querystring

    I have the following frameset called index.asp: <frameset rows="55,*,55"> <frame name="top" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" noresize src="header.asp"> <frameset cols="130,*"> <frame name="left" marginheight=0 marginwidth=0 scrolling="no" noresize src="...
  3. hamish75

    TimeStamp less 24 hours

    Hi, I urgently need to create the following in SQL: Delete all records from Bocs.dbo.stats_one where TimeStamp is older than 24 hours and Code begins with "CC" I’m not a million miles away I think!...I have the following where I am selecting: SELECT * FROM Bocs.dbo.stats_one WHERE...
  4. hamish75

    Handle error on edit

    I have a field named [Information text] which is a type varchar(8000). I edit the field in a SQL database here: str_SQL = "" str_SQL = str_SQL & " IF EXISTS (SELECT 1 FROM [System_Information] WHERE SystemID = '" & id & "') " str_SQL = str_SQL & " UPDATE a " str_SQL = str_SQL & " SET...
  5. hamish75

    Scan files to give character count

    Does anyone know of an example which would allow me to create a small vbs script to scan a folder to check all the text files and then give me a character count? I have been searching the internet for a long time but can't find anything. Thanks. Ah dinnae ken...
  6. hamish75

    If file exists

    I have the following code that updates a SQL database with a record. This works fine. For i = 0 to Ubound(num) if len(num(i))=2 then rs = "INSERT INTO Model ([BusinessID], [Model Code], [Model Description])" rs = rs & " VALUES" rs = rs & "('" & first_part & "', '" & num(i) & "', '" & "Model...
  7. hamish75

    Validation on database entry

    I have a dropdown menu where I select a product, then I type two-character code(s) into an input text box I then press submit. I use a javascript function so when the user types a two-character code the string is separated by a space: what.value=what.value.replace(/ /g,'').replace(/(..)/g,'$1...
  8. hamish75

    Splitting output text within a function

    I have a javascript function that foxbox kindly provided me with on another ASP related thread. Basically i'd like to take this function and add a split within it. here is the code: <script language="javascript"> function FillText() { var selObj =...
  9. hamish75

    Title tag on image

    i am displaying a logo in a response.write statement. the logo i am retrieving from a sql server 2008 database. i wanted to display another field from the same record that would give a title description of the image so i did the following: Response.Write ">" & "<img src=""logo.asp?id=" &...
  10. hamish75

    Put dropdown value into input text box

    i need to populate an input with a value that is taken from a dropdown menu. the dropdown menu is populated by a look-up table. here is the dropdown menu: <select name="Edit" id="Edit"> <% sql = "SELECT * FROM [Sales] ORDER BY [Sales Code] ASC;" Set rs = obj_CN.Execute(sql, adBoolean) ' Build...
  11. hamish75

    Combine two working scripts to update database

    using a form with a browse to file button i am able to successfully upload an image to a sql database using the following script, this updates a table called images: <% set upload = server.createobject("persits.upload") upload.setmaxsize 100000, true count = upload.save set file =...
  12. hamish75

    Create space in input box when typing

    first of all, i think this is a javascript question, as i think it would fall under an onkeyup or something like that. does any one know any examples of how to create a space after inputting 3 characters in an input box whilst typing? for example, if i typed the alphabet it would show like...

Part and Inventory Search

Back
Top