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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by RayDance

  1. RayDance

    Get WeekNumber from weeks starting on Sunday

    strongm, The discussion isn't over yet! Because: MsgBox Format("3-jan-2010", "ww", vbMonday, vbFirstFourDays) Gives week 53 of 2009, but must be week 1 of 2010!! See the following article on how computers determine a week, how to get around this MS bug & when the MS bug can occur...
  2. RayDance

    Get WeekNumber from weeks starting on Sunday

    strongm, If a week starts on a sunday and you use Format(Now, "ww",vbSunday, vbFirstJan1), then you get the wrong weeknumber for "1-jan-2005". "1-jan-2005" is week 53 of 2004 and not week 1 of 2005!! It is a bug in a Microsoft DLL! You can find this everywhere on the internet and on the MS...
  3. RayDance

    Get WeekNumber from weeks starting on Sunday

    '************************************** ' Name: Get WeekNumber from weeks starting on Sunday ' Description:This function calculates the weeknumber of a date for weeks starting on a sunday. The Microsoft function WeekNumber(ww, date) calculates weeknumbers for weeks starting on a Monday! ' '...
  4. RayDance

    What am i missing?

    You don't have enough Read/Write permissions on the dirrectory where your Database is! So check you local database directory rights and give the IUSR_.... Read and write rights on the directory or you can give the IUSR_... Read and Write Rights on the Database alone! Greetz, RayDance
  5. RayDance

    Delay, Status or onafterupdate off a Selectbox?

    Thanks for the option xutopia, but it does'nt work, maby there is somebody else to give a solution.
  6. RayDance

    How to get the maxlength value of a text box

    Try this.... <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;> <html> <head> <title>Untitled</title> </head> <body> <script language=&quot;JavaScript&quot;> function showlength() { if (document.myForm.ALotOffText.value.length == 20)...
  7. RayDance

    Delay, Status or onafterupdate off a Selectbox?

    Hi there I've a litle problem with reading the length of my Selectbox, after I load XML-nodes as options to it. Directly after loading the xml into my selectbox as options, I can't get the length off the selectbox. It seems that the Selectbox needs a little time or delay for refreshing the...
  8. RayDance

    Delay, Status or onafterupdate off a Selectbox?

    Hi there I've a litle problem with reading the length of my Selectbox, after I load XML-nodes as options to it. Directly after loading the xml into my selectbox as options, I can't get the length off the selectbox. It seems that the Selectbox needs a little time or delay for refreshing the...
  9. RayDance

    Delay, Status or onafterupdate off a Selectbox?

    Hi there I've a litle problem with reading the length of my Selectbox, after I load XML-nodes as options to it. Directly after loading the xml into my selectbox as options, I can't get the length off the selectbox. It seems that the Selectbox needs a little time or delay for refreshing the...
  10. RayDance

    Image button won't send value

    Try this in your buttonchoice.asp (The image x is just a blank image): <% strAction = request.form(&quot;btnView.x&quot;).item if strAction <> &quot;&quot; then strAction = &quot;View&quot; else strAction = request.form(&quot;btnView&quot;).item end if if strAction = &quot;View&quot; then...
  11. RayDance

    Count amount off HTMLTags in a textarea value

    I'm inserting large amounts off text in one textarea and it's HTML text. I use <hr /> for a page break, but now I want to know how many pages I have in one textarea. So I have to know the amount/count off the <hr /> TAGs. Does anybody know how I can count these <hr /> TAGs from the texarea...
  12. RayDance

    Another Use of CF code in Javascript

    Just use this for example: <cfoutput> <script> var verifyvalue = '#IsDate(DE(FORM.f))#'; </script> </cfoutput> IsDate is asking for a String so u can use DE(), or Evaluate(), that depends on what sort off variable f is. give it a try.
  13. RayDance

    Count amount off HTMLTags in a textarea value

    I'm inserting large amounts off text in one textarea and it's HTML text. I use <hr /> for a page break, but now I want to know how many pages I have in one textarea. So I have to know the amount/count off the <hr /> TAGs. Does anybody know how I can count these <hr /> TAGs from the texarea...

Part and Inventory Search

Back
Top