How to connect to project server reporting database ?

C

ctd

Hello,
I need to retrieve the list of custom field values from the table
MSPLT_xxxx_UserView in the reporting database, how do I do this ? I have the
"Select ....from..." statament already, but not sure how I make the
connection in my code.

Thanks.
 
R

Rod Gill

Create a recordset to the View (plenty of examples in MSDN) then:
Dim fld as adodb.field

for each fld in myrecordset
debug.print fld.name
next fld

--

Rod Gill
Microsoft MVP for Project - http://www.project-systems.co.nz

Author of the only book on Project VBA, see: http://www.projectvbabook.com




ctd said:
Hello,
I need to retrieve the list of custom field values from the table
MSPLT_xxxx_UserView in the reporting database, how do I do this ? I have
the
"Select ....from..." statament already, but not sure how I make the
connection in my code.

Thanks.

__________ Information from ESET Smart Security, version of virus
signature database 4950 (20100316) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4950 (20100316) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top