-
Feb 20th, 2011, 07:46 PM
#1
Thread Starter
Fanatic Member
Filling a form from another form.
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|