a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Array

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Array
Page: [1]
 
accessman

 

Posts: 74
Joined: 9/13/2005
Status: offline

 
Array - 9/17/2005 19:49:31   
Dim arr() as integer

I used it, but it dosn't work. Then I try to use like this
dim arr(2) as integer, then it works.

but I don't want to set the fix number, actually, I want to set like this:

Dim arr(count()) as integer

count() is a count the records of the table. But, it doesn't work, how can I set the array which see how many records in the table
For example: if the table has 3 records, then count() will get 3, this one I did it. but, how can I pass the count() value into array
Dim arr(count() as integer, //it doesn't work.

Please help. Thanks.
BeTheBall

 

Posts: 6385
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: Array - 9/18/2005 15:39:56   
Can you show a little more code? Also, are you sure it is an array you are after? An array is normally a list of items either one or two dimensional. Sounds like you are simply after a variable.

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to accessman)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> ASP and Database >> Array
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts