you're getting the id from the other database but checking your current database's sysobjects table. and i think OBJECTPROPERTY only works in the current database. this should work.
if exists (select * from GLOBAL_POS.dbo.sysobjects where id = object_id('GLOBAL_POS.DBO.NA_052003_BP') and xtype...
i don't know of a built-in function that will do this. here is a function that will do it though
Create function dbo.AddDigits
(
@intNumber int
)
Returns int
AS
Begin
declare @strNumber varchar(20), @intReturnValue int
Select @strNumber = Cast(@intNumber as varchar), @intReturnValue =...
<form action="calc_score" method="post" name="myForm">
should be
<form action="calc_score.asp" method="post" name="myForm">
try
<thead style=""display:table-header-group;"">
<tr>
<th>Header</th>
</tr>
<tbody>
<tr>
<td>Rest of page</td>
</tr>
when you print or print preview it will display the header at the top of all the pages
this should work
RIGHT(CAST(Year(CreateDate) AS VARCHAR), 2)+'^'+
CASE WHEN Month(CreateDate) <= 9 THEN '0' ELSE '' END+ CAST(Month(CreateDate) AS VARCHAR)+'^'+
CASE WHEN Day(CreateDate) <= 9 THEN '0' ELSE '' END+ CAST(Day(CreateDate) AS VARCHAR)
str = "<li><A HREF=""javascript:doMarker('abc');""></a>"
you have to have the two different types of quotes if you're going to nest them.
i don't want to know if an error has occured. i know how to check that. i want to know if there's a way to check to see if "on error resume next" has been called.
is there anyway to check to see if a page has set on error resume next?
i want to do something like
check to see if on error resume next has been set
on error resume next
do something that may raise an error
if on error resume next was not set then on error goto 0
does anybody know if that's...
ok. i changed
if (isNaN(claimsBox.value))) to
if (isNaN(Number(claimsBox.value)))
and added the closing } for the function formValidation and it displays the please enter a number alert
either single or double quotes should work fine. what error are you getting? what is the isItNumber function expecting? the form element or the form element's value? the above code passes the form element.
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.