ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 20th, 2011, 03:50 AM
harinarayananvp harinarayananvp is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 3 harinarayananvp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 44 sec
Reputation Power: 0
ASP 1.0 - Recordset creation and data retrieval inside VB scipt sub

Hi,

I want to create a recordset on a combobox event change. I tried the following code in VBscript. But not working..Pls help


Code:
sub txtrt_onchange

Set ObjKCC=server.CreateObject("Adodb.Recordset")
			
ObjKCC.Open "select release_name from release_statistics",con
			
           
            do while ObjKCC.eof<>true
           
            Set objOpt = document.CreateElement("OPTION")
             objOpt.Value = a				
             objOpt.Text = ObjKCC.fields(0)
             frmpsr.txtconsol2.add objOpt
             Set objOpt = Nothing
             frmpsr.txtconsol2.selectedIndex = a
             a = a + 1
             ObjKCC.movenext 
	loop
end sub


when i wrote Server. , intellisense also not showing CreateObject option.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > ASP 1.0 - Recordset creation and data retrieval inside VB scipt sub


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap