Author |
Topic |
work mule
Senior Member
USA
1358 Posts |
Posted - 01 October 2002 : 18:33:40
|
quote: Originally posted by kwhipp
work mule II -
Should this (http://forum.snitz.com/forum/topic.asp?TOPIC_ID=36153) also be changed in the Search Form Enhancement code?
Already had it covered in the mod.
if start_date <> "" then strSql3 = strSql3 & " AND (T.T_DATE >= '" & start_date & "' OR R.R_DATE >= '" & start_date & "')" end if if end_date <> "" then strSql3 = strSql3 & " AND (T.T_DATE <= '" & end_date & "' OR R.R_DATE <= '" & end_date & "')"
-------------------------------
I apologize that I didn't get a chance to update the file last night.
|
|
|
StephenD
Senior Member
Australia
1044 Posts |
Posted - 02 October 2002 : 00:04:20
|
I try to perform a search for a keyword posted yesterday and i get the following error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "/2"]'
/forum/inc_func_common.asp, line 772
My line 772 reads: chkDate = Mid(fDate,7,2) & " " & _
I've got the options set to 'dmy' in search_mod, staff set to off. |
|
|
StephenD
Senior Member
Australia
1044 Posts |
Posted - 02 October 2002 : 00:25:33
|
I changed the "dmy" to "" but I still get this error:
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'Monthname'
/forum/inc_func_common.asp, line 772
|
|
|
serverhacker
Junior Member
USA
125 Posts |
Posted - 02 October 2002 : 03:23:20
|
I am getting this error also:
Search Results for avatar Searching Text in Subject & Message of posts in All Forums (Non-Archived) Posted Between Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'Monthname'
/forum/inc_func_common.asp, line 818
You can try it for your self here
Any help would be great
|
|
|
Raziel
New Member
97 Posts |
Posted - 11 October 2002 : 17:53:02
|
Okay,
Here's a funny problem: It searches, but finds nothing!
I've tried to search for a keyword that I KNOW is in a post, but it still comes up with NOTHING. (and yes, the date is not the problem).
I then tried with the original one, and that worked! It found the posts...
This is not really working for me. It doesn't even give an error message. Just finds... nought! I have a snitz 3.4.01...
Please... Help? |
|
|
Tmpj
Junior Member
Denmark
467 Posts |
Posted - 11 October 2002 : 19:28:27
|
Nice Work! |
|
|
Raziel
New Member
97 Posts |
Posted - 12 October 2002 : 08:10:06
|
Help me please... Is this at all compatible with the 3.4.01 version?
It's still not working... |
|
|
jkmcgrath
Junior Member
USA
145 Posts |
Posted - 06 November 2002 : 18:02:09
|
Here are some of the erros I am getting with it.
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "/2"]'
/forum/inc_func_common.asp, line 849 Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'Monthname'
/forum/inc_func_common.asp, line 849
Any ideas?
|
Delta Force Seals |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 07 November 2002 : 12:09:22
|
Raziel, have you change the session.lcid by chance, i had the same problem.
Also, my date range is output as 00//2/10/7 - 00//2/11/7 and none of the strSearch_DateType or intSearch_MonthFormat affect it, is this a bug? |
The UK MkIVs Forum |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 07 November 2002 : 12:18:34
|
Sorry fixed my above problem, line 614 was
Response.Write ChkDate(StrToDate(start_date), "" ,false) & " - " & ChkDate(StrToDate(end_date), "" ,false)
Removing the strtodate call fixed my problem? Did I have an old version?
Response.Write ChkDate(start_date, "" ,false) & " - " & ChkDate(end_date, "" ,false)
|
The UK MkIVs Forum |
|
|
jkmcgrath
Junior Member
USA
145 Posts |
Posted - 12 November 2002 : 12:47:03
|
anyone know i workmule is still helping out on this mod ?
|
Delta Force Seals |
|
|
seaborg
Starting Member
7 Posts |
Posted - 30 November 2002 : 04:41:04
|
i getting this error too.
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "0/"]'
/snitz/forum/inc_func_common.asp, line 906
any suggestion? |
|
|
seaborg
Starting Member
7 Posts |
Posted - 30 November 2002 : 04:59:31
|
i fix it with DaviRhodes's help
do follow
Response.Write ChkDate(StrToDate(start_date), "" ,false) & " - " & ChkDate(StrToDate(end_date), "" ,false)
Removing the strtodate
Response.Write ChkDate(start_date, "" ,false) & " - " & ChkDate(end_date, "" ,false)
|
|
|
user_99
Starting Member
Austria
10 Posts |
Posted - 12 December 2002 : 10:40:31
|
works fine!
thx user_99 |
|
|
n/a
deleted
593 Posts |
Posted - 21 December 2002 : 16:20:39
|
Works fine here too. Thanks for this nice MOD and good comments on fixing up the error -
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "1/"]'
which was resolved with chkdate removal.... Super!
Now has Searach + Advanced Search.... Cool! |
Taku
|
|
|
Topic |
|