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 SkipVought 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: *

  1. CrimsonDiva

    Compare drop-down so only one of each choice is used?

    Thanks LookingForInfo! [2thumbsup] It worked like a charm! Diva [glasses]
  2. CrimsonDiva

    Compare drop-down so only one of each choice is used?

    Hey DVDGirl, Did you ever get an answer to your question? I want to implement the same thing! Diva [glasses]
  3. CrimsonDiva

    Inserting Comma-Delmited Lists into DB

    Thanks evaleah, Yes, the varchar is the comma-delimited list that I'm passing to the stored procedure from my ASP page. I am unfamiiar with using DTS packages, which is why I'm using this method. Some background: There are several checkboxes on a form that a user can select, all linked by IDs...
  4. CrimsonDiva

    Inserting Comma-Delmited Lists into DB

    Hi! I'm having a problem checking for the existence of a record in a table when the input is a comma-delimited list. In the stored procedure below, I need to first check to see if a record exists in the database with the group and tool id's. If not, I want to add the new record. But...
  5. CrimsonDiva

    Submitting IFRAME with Form

    Sorry about that. That typo was soley in the message to Tek-Tips. There is no typo in my actual code. [sadeyes] The big problem here is getting my IFRAME data to pass with my form. It seems like there's no way to do this. I tried document.all.mailbody.value, but I am still unable to actually...
  6. CrimsonDiva

    Submitting IFRAME with Form

    Thanks Steve, That doesn't work. I've used theform to represent my form on various occassions so I know that piece is working fine. Diva
  7. CrimsonDiva

    Submitting IFRAME with Form

    Hi There, I have a complicated ASP/vbscript/javascript page with an IFRAME in it that doesn't seem to be submitting with the form. Here is a portion of the code: <SCRIPT LANGUAGE=&quot;javascript&quot;> function checkForm(){ var theform = document.frmsdnemail; //Check for the e-mail body...
  8. CrimsonDiva

    Nested For Loop Help

    Thanks, Genimuse. That almost worked. I think I may have solved my own problem with the following: For i = 1 to chkcount For j = 1 to usercount If newPrefArray(i) = dbArray(j) Then countmatch = countmatch + 1 Next if countmatch = 0 Then 'add record countmatch = 0 <== reset the...
  9. CrimsonDiva

    Nested For Loop Help

    Hi, I'm trying to iterate through two arrays. The 1st array contains values from the database. The 2nd array contains values from a form. I want to hold the 1st array constant while checking values from the 2nd array against it. If the item in the 2nd array is not found in the 1st array, then i...
  10. CrimsonDiva

    Access Restriction with SQL / ASP

    Thanks SQLSister, I thought of that option before, but thought it could be too cumbersome since our user database has at least 1300 records. I assume you're saying that this shouldn't be a problem with the new table. Is there a limit on the number of records any table can have? Thanks for all...
  11. CrimsonDiva

    Access Restriction with SQL / ASP

    Hi! I'm trying to set up subscription information for a mailing list that i'm creating. A user can decide from up to 10 choices of the types of e-mail they'd like to receive. My question is how should I represent this in SQL Server 2000? I have a user table with information about the user and...
  12. CrimsonDiva

    Javascript Function with Form Input

    oops. noticed a bug in my code print out. it should say this for the javascript: JAVASCRIPT function OpenPreviewWindow(fld){ var theform = document.frmCreate; var thefield = theform.fld; <== Not working var now = new Date strMessage = escape(thefield.value); document.cookie =...
  13. CrimsonDiva

    Javascript Function with Form Input

    Hello, I'm trying to create a reusable Javascript function (used with ASP) that will take in a textarea and set a cook with the value of that textarea. my function works fine if i dont pass any parameters, but when i try to pass in the name of the form field, it doesn't work. I believe my...
  14. CrimsonDiva

    CDONTS creating duplicate email

    Well, someone else was able to help me out with this problem. All I needed to do was to set the body =&quot;&quot; after I send each email. objNewMail.From = &quot;support@somedomain.org&quot; objNewMail.To = email 'support HTML text for body objNewMail.BodyFormat = CdoBodyFormatHtml...
  15. CrimsonDiva

    CDONTS creating duplicate email

    Hi spazman, No, I am not restting the value of the bodytext. Should I do that? If so, how? objNewMail.Body =&quot;&quot; [ponder]
  16. CrimsonDiva

    CDONTS creating duplicate email

    Hi, I'm trying to send out an indefinite number of emails using ASP/vbscript and CDONTS. I am able to receive all of the intended emails, but I notice that the actual message seems to be queueing, so that I receive all of the email text combined, in the last message sent. For example, if I send...
  17. CrimsonDiva

    Adding VBscript to onclick Event

    dilettante, Thank you for your comments, but they really didn't help much at all. Tarwin provided the best solution to my problem. I used it, and it's working fine. dillettante, I completely understand HOW the web works and how pages are processed. The question I asked has nothing to do with...
  18. CrimsonDiva

    Adding VBscript to onclick Event

    Hi, I'm trying to make an entry into a logfile whenever a user tries to download a PDF from my site. This is the code that I have right now (which is, of course, not working): <A HREF=&quot;docs/myfile.pdf&quot; onClick=&quot;<%=Call LogHit(&quot;/private/reports/ama&quot;)%>&quot;> View...
  19. CrimsonDiva

    Complicated Replace Function - Please help

    Thanks Tarwin! That worked perfectly![2thumbsup]
  20. CrimsonDiva

    Complicated Replace Function - Please help

    Hi, I'm trying to excute a vbscript Replace function to produce a printable version of an ASP page. Here's what I have: strLine = Replace(strLine, &quot;<%=Application(&quot;&quot;rootsite&quot;&quot;)%>&quot;,&quot;http://www.somesite.org&quot;,1,-1,1) But this doesn't work and I've...

Part and Inventory Search

Back
Top