borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (iso image files)Next Topic (Need a VB6 license) New Topic New Poll Post Reply
AndreaVB Forum : Off-Topic : can I get help in ASP ?
Poster Message
seddiq
Level: Trainee

Registered: 12-06-2005
Posts: 2

icon 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
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon 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
View Profile Send Email to User Show All Posts | Quote Reply
seddiq
Level: Trainee

Registered: 12-06-2005
Posts: 2
icon 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
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon 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
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Off-Topic : can I get help in ASP ?
Previous Topic (iso image files)Next Topic (Need a VB6 license) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder