|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
Hi all.
I have a recordset named rs, and a dbase with fields named attrib01 - 99 i want to write out the data contained in fields attrib01- 99, so far i have the following.... ctr = the NumOfAttrb //number of attributes for = 1 to NumOfAttrb response.write(rs("attrib")&ctr //obviously wrong next Unfortunately I get an error because my rs is trying to display a field called attrib and not attrib01 - 99 respectively. Does anyone know the correct syntax to what I am trying to do?!?!?! THANK YOU SO MUCH!!! |
|
#2
|
|||
|
|||
|
Thanks Echolalia, that's exactly how I did it pretty much.
ctr = cint(rsInfo("Attributecount")) For i = 1 to ctr if len(i) < 2 then i = 0 & i end if cntr = ("ATTRIB"& i) Response.Write("<td NOWRAP>") Response.Write(cntr) Response.Write("</td>") Next |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > ASP...queryinga dbase |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|