 |
seddiq Level: Trainee
 Registered: 12-06-2005 Posts: 2
|
can I get help in ASP ?
Hi there,
I realized that there is no place in the forum I can ask about asp ?!?!?
anyone can please help me and tell me how can i create a column in a recordset ?!?!??
I tried to used ( rs.fields.append ) but nothing is showing when i type the ( . ) after fields as there is no support for it...
anyone can help me please....!!
____________________________
Regards,
SeD
|
|
12-06-2005 at 12:59 PM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: can I get help in ASP ?
This should work
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Fields.Append "SomeTextField", adChar, 50
rs.Open |
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
12-06-2005 at 05:36 PM |
|
|
seddiq Level: Trainee
 Registered: 12-06-2005 Posts: 2
|
Re: can I get help in ASP ?
hmmm ,
I guess i have to try this code...
but what is adChar , 50 stands for ?
I saw some people assign some values to adChar ?!?!??
____________________________
Regards,
SeD
|
|
13-06-2005 at 05:40 AM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: can I get help in ASP ?
adchar is a field data type, and 50 is a length of data that can be stored in this field. Look in MSDN on Append method of fields collection, and all will be clearer.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
13-06-2005 at 11:34 AM |
|
|
|
|
 |
 |