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

    Insert and update record

    I am trying to have a page with an update and a insert into 2 different tables but i can get the update but not the insert? I have had a dabble in the evil code...and i created another sperate page that with a insert behaviour assigned to the form, i copied and pasted the code onto the other...
  2. stevemarsh99

    Date command

    Hey guys and girls, i have a page that runs an IF statement to send an email. great, but now I want the if statment to run IF todays MINUS 2 DAYS is equal to a date in a database? i have it working with if todays date ADDED ONE DAY (tomorrow basically) is equal to my db date, but if i go back...
  3. stevemarsh99

    Forms...silly question no doubt!

    I have a page that I want to update a record in one table of a db but in the same db, i want to insert a record to another table, all at the same time and maybe in the same form? is this possible and if not there must be a way-around?
  4. stevemarsh99

    CDONTS query

    Is there any way of being able to use CDONTS to send mail (asp) where you can include ASP code in the html message itself? (as I would like to CSS some bits and grab some fields from a database) I have got some code that allows you to put in some html but you have to have HTML commands on EVERY...
  5. stevemarsh99

    Mystery Error!

    Chaps, nearly there with this page and just need pointing in the right direction. i get this error: Error Type: Microsoft VBScript compilation (0x800A03F6) Expected 'End' /ealert/default.asp, line 266 and here is the code...eek! <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include...
  6. stevemarsh99

    If statement broke!

    Hey guys, I have this page that is supposed to email someone based on a date that sits in a database. The code looks fine but when I run the page it ALWAYS comes back with the 'else' part of the if statement.....ARRRRRRHGGGHH! Any ideas? (also taking for granted we could fix it, do you think...
  7. stevemarsh99

    Image Placeholders

    I have a dynamic image placeholder on a page that throws in the image ref which is great. But how would I go about setting a maximum size limit on the image so it does toss up the laylout of my page if some clown uploads a 1280 x 960 image?! If you set the width and height in DW it changes the...
  8. stevemarsh99

    Directory Listing

    Guys, this code below displays the contents of a directly in plain text with <br> in a list: <% folder = "C:\Downloads" set fso = CreateObject("Scripting.fileSystemObject") set fold = fso.getFolder(folder) fileCount = fold.files.count dim fNames() redim...
  9. stevemarsh99

    ASP Image thingy

    Guys, I need an image uploader onto my server so people can log in and add images to the news they can already ammend. I need to know a really easy uploader script and how the hell you have a button that referenced to the folder that the image is placed into? Thanks Steve
  10. stevemarsh99

    Templates

    I have a site that uses a template. When i update the template DW asks we whether i was to make the changes to the entire site...great. so it does that and now i want to put it on my web server but 1stly: What do i put? the entire site?? 2ndly: When i put the page (essentially overwriting the...
  11. stevemarsh99

    Database code

    I am in dreamweaver and am trying to get some code to work that says: If the field in the database for a specific comun is blank then display something Else Display the image! I do not know the code used for 'if the database field is blank' is!!! Hope you can help
  12. stevemarsh99

    Emailing from results

    Would it be possible to send an email on a date that is held in a database? I dont really understand Stored Proceedures too :P I also have a huge list of links in a database that I need in a form of a box with the abcdefg____xyz as links at the top and when you click a letter it goes to all the...
  13. stevemarsh99

    Email Automatic

    Hey guys, I have a page that grabs a date from a database and throws it on a page. fine. but how would i (i lamens terms!) have an email sent out to someone when then outputted date is within 2 days or 1 day, doesnt matter, automatically? Can this be done? Ta Steve
  14. stevemarsh99

    If statement

    Hey guys, I would like some sort of added charachter if the field I have outputted from my datababse is within 24hours of my current date? I have a field that is called dates that is outputed on my page and would it be possible to have an If statement that displays some ' *** ' characters if...
  15. stevemarsh99

    Repeat Region Colours

    Hey all, I have a query about repeating regions in Dreamweaver. I know how to do it so when you have a row or data and you want a dividing line between the rows, you have one big merged cell below the row that has the data, then repeat region BOTH rows but how do you do it so the each row has a...
  16. stevemarsh99

    Dodgey Code

    Hey all, Just working on a site and below one ofmy pages (that used a connection script file) i get the following: _____________________________________________________ /table> html> Microsoft VBScript runtime error '800a01a8' Object required /register/ai/digital/demographics.asp, line 682...
  17. stevemarsh99

    redundant jargon

    Hey Guys n' Girls! Wondered if you could help...situation as follows: Just started doing some in house hosting so I slapped our new website onto it and I get: db" %> on the default.asp page (and on every other page then links to the main connection script file via 'includes') but its only...
  18. stevemarsh99

    Scary Code!

    Hey Guys n' Girls! Wondered if you could help...situation as follows: Just started doing some in house hosting so I slapped our new website onto it and I get: db" %> on the default.asp page (and on some others) but its only when you view it from a client. If you look on the source code on the...
  19. stevemarsh99

    Forms (Conditional?)

    Hey all, Im new to the forum! Just a starting question, where can I find some nice examples of code that I can use for conditional forms. What I mean by that is this - when your filling out a form and then what you fill in at the top determines what options you have down the form later? What...
  20. stevemarsh99

    Forms

    Hey all, Im new to the forum! Just a starting question, where can I find some nice examples of code that I can use for conditional forms. What I mean by that is this - when your filling out a form and then what you fill in at the top determines what options you have down the form later? What is...

Part and Inventory Search

Back
Top