Re: How do you create a child window/form
- From: Eaton <Eaton@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 1 Aug 2007 11:10:00 -0700
Hi,
As an fyi, I'm using an Access 2003 .adp; the stored procedure I am running
creates a varying number of columns in the result set; each time it is run,
there could be a different number of columns returned; that's the only reason
I'm using OpenStoredProcedure because it will at least open a result set
window showing each unique result set, otherwise, I would use a regular form.
Using a regular form would not work with a variable number of columns or
would not show them, right? If you have another idea for displaying this
variable column result set, please let me know.
Thanks.
Eaton
"Douglas J. Steele" wrote:
Rather than use OpenStoredProcedure, create a pass-through query and use it.
as the RecordSource for a form you use as a subform.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"Eaton" <Eaton@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BA664E3A-00A6-4AA2-B6C4-803FB794A752@xxxxxxxxxxxxxxxx
Hi Doug,
This is all happening in a VBA script, not design mode. I run
OpenStoredProcedure, the result set comes back in a window and I want to
contain that result set window within a parent window.
There's got to be a way, right?
Thanks.
Eaton
"Douglas J. Steele" wrote:
Create a form to hold the results.
Open the parent form in design view, and drag the form you created above
onto the parent form from the database window.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"Eaton" <Eaton@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:33B8AD30-45ED-4335-9DAF-BC4295DA1E4A@xxxxxxxxxxxxxxxx
Hi,
I have a result set from OpenView or OpenStoredProcedure which displays
in
a
window, but it's not contained within another form. (I need to use
OpenView
or OpenStoredProcedure because the number of columns will be changing.)
How do I make this a child form or window that will be contained within
a
parent form?
Thanks.
Eaton
- Follow-Ups:
- Re: How do you create a child window/form
- From: Douglas J. Steele
- Re: How do you create a child window/form
- References:
- Re: How do you create a child window/form
- From: Douglas J. Steele
- Re: How do you create a child window/form
- Prev by Date: Re: Default Value field wont work?
- Next by Date: Re: Subtract 3 weeks from a text box and show value in another?
- Previous by thread: Re: How do you create a child window/form
- Next by thread: Re: How do you create a child window/form
- Index(es):
Relevant Pages
|