Limitations Of Integers
i need to use bigger numbers that integer allows in asp. what should i use? i still need the whole number quality of the integer, but when i use anything larger than about ,100,000,000 i get the error Overflow: '[number: xxxxxxxxxxx]'
with the x's being the number i used. anyway around this?
View Replies
ADVERTISEMENT
To put a string on integers togther.
Not like strNumbers = "1,2,3,4"
But like:
strNumbers = 1, 2, 3
so that it can be actually treated like intergers instead of just a string.
View Replies
View Related
I have two arrays that contain integers and I would like to add them, say array1(0)=1 and array2(0)=1. If I just do something like array1(0) = array1(0) + array2(0) I end up getting 11. How can I make it add the appropriate integers?
View Replies
View Related
I have an array, PositionArray(), which contains a variable number of integers. I need to sort these array elements numerically. Seems I've done this before in VB, but I can't seem to get my mind around it now. Does anyone have a simple bubble-sort code, or is there an ASP way to do this?
My ultimate goal is to take a chunk of text, and highlight (bold, color, whatever) words that are contained in a string array. My thought is to find the position of each word with the InStr() function, then find out which position occurs 1st, which position occurs 2nd, etc., then build a string from the beginning of the text chunk to the position where the first word begins, add a bold tag, add the word, add a </B> tag, and continue until the end of the chunk.
View Replies
View Related
How can I allow entering multiple integers in a field? examples: 11, 13, 15 or 11-16 or 11-16 step 2?
View Replies
View Related
I need to multiply a price by a quantity. I'm using the following:
intTotal = (int(strPrice) * int(strQuantity))
strPrice contains the value 20.80 and strQuantity contains the value 10
It gives me a total of $200 when it should be $208. Why does it discard the .80 cents in the multiplication? What can I do to fix it?
View Replies
View Related
I'm trying to make an array of strings to compare to. Each string will be made up of 3 different 4 digit codes with spaces in between each code (ie "1001 2003 3001").
I'm currently using this code to do this but when I write the string out to the screen I only get the <br>. Code:
View Replies
View Related
I am getting the error below when I am trying to compare two integers.
strbid = rstB("BID")
bid = rscon("BID")
I am getting the values of strbid and bid from two seperate queries.
if (strbid <> bid) then
Microsoft VBScript runtime error '800a000d'
Type mismatch
I know both the fields are of same data type in the database. I am using SQL Server.
Am I doing anything wrong while comparing?
View Replies
View Related
I have developed this script that is meant to take in a value from a database record add one to it and post the new number in the record. It works ok but it always seems to read all database records as 0 never as thier true number (i have tried it set to 1,2,3 etc)
Code:
View Replies
View Related
I am having problems with CSS expression. I have setup page that expresses some inline CSS within a repaet region. I am finding that after around 25-30 repeats the CSS stops expressing. The CSS is designed to set the size and position of a table and after too many record repeats it stop positioning the tables in internet explorer.
This may be a browser limitation becasue when I examine the source code of the expressed document the CSS is intact but it is not showing up in the browser.
View Replies
View Related
I am using variable passing through the url, and as it is getting larger, I am finding that occassionally some values are getting trimmed. Is there a limit to how long a url can be?
View Replies
View Related
I need to use an script that uploads via one of these three components: ASPUpload, SA-FileUp or SmartUpload.
If any of you have some recommendations or know upload scripts using one of these components, it'd be great. Unfortunately, I need it to be able to upload huge files on the server (300 megs).
View Replies
View Related
I would like to know what I am allowed to do in Sub OnTransactionAbort and
what I am not allowed. (Or where can I find some material about this.)
I seem to have experienced that I am not allowed to do further database
transactions and cannot see the global variables. I can see Session
variables and do file transactions, however.
View Replies
View Related
Just migrating some code from CDONTS to CDO and noticed some behaviour I want to verify.
When using cdoSendUsingPickup the outgoing email spools to the local filesystem first before being routed out. When using cdoSendUsingPort it goes directly to the remote email server and seems to bypass the virtual SMTP server running on the local machine (which can be stopped). This is all fine.
I noticed that sending emails that exceed the maximum filesize limitation set in the SMTP server properties pages only seems to trigger an error when using port, not pickup. Is this expected?
View Replies
View Related
I am getting ready to start a rather large website for a company. Its basically going to be a auction type website. This site has the potential to get extremely big if they market it correct. My question is can Access handle it?
I've heard there are certain size limitations in Access, but have never heard what those are. Has anyone out here actually reached those limits? Also how hard would it be to convert a Access db to SQL Server 2000? Is there a conversion tool within SQL Server or Access?
View Replies
View Related
I am coding an ASP script, which currently requires a 5-dimension array, i.e. array(a,b,c,d,e)
I remember reading somewhere, a long time ago, that there is a limit to the number of dimensions in ASP. That was a long time ago, and I don't remember.
View Replies
View Related
ASP based Cookies. What is the limitation in data you can store with them? 4kb? How can you get the current size of Cookies your domain has placed on the computer? Another thing. Are ASP based cookies actually written to the client computer, like javascript ones are; or are they stored in sessions?
Sessions. I know a Session can hold quite a bit of data, but I never found a limit. All I know is the more data you place in a session, the more resources the server is losing. Can anyone recommend how many different keys I should place in a session?
I usually hold things like Username, Password, AccessLevel and one or 2 other preferences, but I'm not sure if that's too much as is. What other common ways are Sessions used for?
View Replies
View Related
Does cookies have any limitations when used in frames?
View Replies
View Related
I'm looking to manage an email list with SQL server and send out newsletters. Does anyone have an idea of the limitations of sending emails with CDONTS.MAIL object? How long would it take to send out 1000 emails via asp. I guess there are many variables with that, but that's say there were no attachments and we have 15k emails. These news letters really will only be sent once a month or so. But lets say our list grows to 10000 users or even 100,000. Is that a good idea to send 100,000 thousand emails through an asp page? I wouldn't think so .
View Replies
View Related
Users are required to log into my website. I store the users name in a session variable. If the user doesn't log out and the session expires after 20 minutes, is it permissable to have code in the session end function of the global.asa which accesses a database and makes alterations to the users login status?
The reason I ask this is that I am having problems trying to get the logout to work for sessions which have timed out. If the users logout using the logout button, the code works fine.
View Replies
View Related
I'm trying to implement the server.execute instead of using SS includes in a new project I'm doing. the server.execute command will not transfer variables or classes/subroutines defined on the other pages. Is this correct?
That's what I'm seeing but I want to be sure that I'm doing it right. I had to go back to SS includes to include my functions and classes I have stored in other files.
View Replies
View Related
I have installed aspSimpleUpload and can upload files, up to 8 megs. However, I need to be able to upload any file size without any restrictions. Are there any file uploaders that I can use that will solve this problem?
View Replies
View Related
I've been trying to use javascript for form validation. I want to get all the validation done in one function since it seems onSubmit can only handle one "return functioname()"
But there seems to be strict limits to javascript function complexity. For example, it seems I can't do this
if ( (a < 3 && b < 2) || (c < 5 && d < 9))
it seems I can't do any 'else if condition x'
also it seems I can't do any nest 'if condition return true'. Is there a way for a single javascript function to handle many different form validations? Or can onSubmit handle more than one returning function?
View Replies
View Related
In working with arrays, I have found that I am unable to dimension and array
with a variable that has an integer value but I can redimension one this
way. I haven't see any information that tells me if this is a requirement,
although it appears to be because I get an error if I try it.
Ex.
Dim b
b = 10
Dim a(b) ' this errors out but
Dim a() ' this
Redim a(b) ' works
Code:
View Replies
View Related