two dimensition to one dimensition

# Thread: two dimensition to one dimensition

1. sr
Member
Join Date
Dec 1969
Posts
55

## two dimensition to one dimensition

How to save in a single-dimension when I get GetRow form the data base

2. Senior Member
Join Date
Dec 1969
Posts
11,334

## You don't <nm>

boo

3. Senior Member
Join Date
Dec 1969
Posts
1,274

## Man DG :)

Is this a record number of "boo" posts for the day? :)

4. sr
Member
Join Date
Dec 1969
Posts
55

## RE: You don't <nm>

so How I can do this<BR>I am getting error <BR>aColumValues = objRecordset.GetRows(,, Array("fDateLeave"))<BR>Dim iRowLoop, iColLoop<BR>Dim strDelimiter,strCo<BR>strDelimiter = ","<BR>strCo = "&#039;"<BR>For iRowLoop = LBound(aColumValues,2) to UBound(aColumValues,2)<BR>For iColLoop = LBound(aColumValues, 1) to UBound(aColumValues, 1)<BR> <BR> aValue = aColumValues(iColLoop,iRowLoop)<BR> <BR><BR>Next<BR>&#039;aColumValues=Array("9/12/01","12/22/01","12/22/01")<BR>aValues= (""""&aValue&""""&strDelimiter)<BR>Next<BR>&#039;R esponse.Write (""""&aValue&""""&strDelimiter)<BR>Response.Wri te ("the dim"&CountDims(aColumValues))<BR><BR>Function isStringRepeat(aColumValues, sDate)<BR> Dim iUpper, iLoop,i<BR> i=0<BR> iUpper = UBound(aColumValues)<BR> For iLoop = LBound(aColumValues) to iUpper<BR> <BR> If CStr(aColumValues(iLoop)) = CStr(sDate) then<BR> i=i+1<BR> isStringRepeat = iLoop<BR> <BR> End If<BR> <BR> <BR>Next

5. Senior Member
Join Date
Dec 1969
Posts
11,334

## What are you doing?

I can&#039;t figure out what you&#039;re trying to accomplish here. What&#039;s the end goal of all this?

6. Senior Member
Join Date
Dec 1969
Posts
11,334

## RE: Man DG :)

Heh, lotsa easy one liners today...

7. Senior Member
Join Date
Dec 1969
Posts
1,274

## RE: Man DG :)

My former roommate came up with an acronym to tell people to do their own research:<BR><BR>Freakin&#039; Look On Google! (FLOG)<BR><BR>Whadda ya think? :)

8. sr
Member
Join Date
Dec 1969
Posts
55

## RE: What are you doing?

I try get a colum values from the database and compare the date it is already in the colum and how many time

9. Senior Member
Join Date
Dec 1969
Posts
11,334

## RE: Man DG :)

I&#039;ve used STFN - Search The F** Net<BR><BR>I think FLOG is better though ;)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•