Curt_C
Thu Jun 10 14:49:13 CDT 2004
Saw your other post, It's for SQL, not Access.
Sorry.
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site:
http://www.Darkfalz.com
Blog:
http://blog.Darkfalz.com
"hytga" <StopSpams@to.me> wrote in message
news:v91yc.40363$Gx4.9033@bgtnsc04-news.ops.worldnet.att.net...
>
> > look here perhaps for an idea
> >
http://www.darkfalz.com/1065
>
> well it comes close to what i need. here's what i've been trying to do
> but the below code gives error
>
> Error Type:
> ADODB.Properties (0x800A0CC1)
> Item cannot be found in the collection corresponding to the requested name
> or ordinal.
>
>
>
>
> <!-- connection is already open ud_conn-->
>
> ' retrieve fields
> set rsMyAcct=Server.CreateObject("ADODB.Recordset")
> strSQL="SELECT * FROM [Users] WHERE Usr_ID='" & UCASE(userid) & "'"
> rsMyAcct.Open strSQL , ud_Conn
>
> Set rsProp = Server.CreateObject("ADOX.Catalog")
> rsProp.ActiveConnection = ud_conn
>
> if not rsMyAcct.eof then
> For each Field in rsMyAcct.Fields
>
> THIS IS THE ERROR LINE>>>>>>> response.write
> rsProp.Tables("Users").Columns(Field.Name).Properties("Description").Value
> & "<br>"
>
> next
> end if
>
>
> Set rsProp= nothing
> rsMyAcct.Close
> Set rsMyAcct = Nothing
>
>
>
> -----------------
> n e ideas?
>
>