Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populate Outlook2K dropdown

Status
Not open for further replies.

JBG

Programmer
Oct 22, 2001
99
US
Hi experts,

I am new to Outlook forms and am creating my first. I need to populate a dropdown on the Outlook form with a recordset that is the result of a query found in an Access 2K db.

In Access, I could just go:
Code:
cboDropDown.RowSource = GetSQL()

But something like that is a no-go in Outlook.


So, although the rowsource property is available in the Outlook properties for the dropdown, I cannot get it to work as I do not now how to set the rowsource. Do I set the rowsource within the View Code/VBScript? Or, do i create a sub/function? And if so, how the heck to I call it, and from where?

If anyone has any comments or code re: this issue, it would be greatly appreciated...

Thanks,

Jeff G
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top