Greetings,

I have a form with a list box. When a list item is double-clicked, I want it to load another form with data from a query.

So far, in the double-click event of the list box, I have the query defined, and this command for opening the form, which is passed the query parameter.

DoCmd.OpenForm "frmForecastPrograms", acNormal, strSelectForecastInfoSQL

When it gets to that line of code, I get a "Enter value" prompt for the value of a tab object, below.

tabForecastPrograms.Value

How can I handle this? Is there a way to put the value for it in the parameters of the OpenForm command?

Jim