Two Different Scripts Conflicting

The two scripts seem to be conflicting because they are both using "MonthName".
Error:

Wrong number of arguments or invalid property assignment: 'MonthName'

The first one uses it to display the current date:
strMonth = MonthName(Month(DateVal), True)

The second one is part of a calendar script
response.write "<b>" & MonthName(MyMonth) & " " & MyYear & "</b>"

How can I prevent these two scripts from conflicting?

View Replies


ADVERTISEMENT

SQL Query Conflicting With Validation

I have a strange problem going on with some validation and a SQL query on an ASP page.

The following SQL query is supposed to display an error message when the user fills in the form, and the form details match an entry that is already in the table database "lecture_hall_bookings, i.e a duplicate record. Code:

View Replies View Related

Searching For Conflicting Bookings...

Got a bit of a problem, and hoping someone out there can shed some light on the matter. I've set up a simple aircraft booking system, and have got to the part where the database searches for conflicting bookings. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved