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...
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...
'**************************************
' 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!
'
'...
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
Try this....
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<script language="JavaScript">
function showlength()
{
if (document.myForm.ALotOffText.value.length == 20)...
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...
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...
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...
Try this in your buttonchoice.asp (The image x is just a blank image):
<%
strAction = request.form("btnView.x").item
if strAction <> "" then
strAction = "View"
else
strAction = request.form("btnView").item
end if
if strAction = "View" then...
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...
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.