dbTalk Databases Forums  

embed query design mode screen into a form?

comp.databases.ms-access comp.databases.ms-access


Discuss embed query design mode screen into a form? in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
KatieK
 
Posts: n/a

Default embed query design mode screen into a form? - 11-24-2010 , 03:33 AM






Hi

Is it possible to embed the query design mode screen into a form?
I would like to be able to allow users of my solution to edit and
create new queries but I have developed an interface with consistent
headers and side menu etc and it would not be very smart if the only
way they can access this design mode is via a separate screen that
doesn't fit within the current design.
So is it possible to embed the design mode screen into a form so that
when they choose an query to edit it opens up in this window?

Thank
Katie

Reply With Quote
  #2  
Old   
Nance
 
Posts: n/a

Default Re: embed query design mode screen into a form? - 11-24-2010 , 05:12 AM






On Nov 24, 4:33*am, KatieK <katie.k... (AT) aether-uk (DOT) com> wrote:
Quote:
Hi

Is it possible to embed the query design mode screen into a form?
I would like to be able to allow users of my solution to edit and
create new queries but I have developed an interface with consistent
headers and side menu etc and it would not be very smart if the only
way they can access this design mode is via a separate screen that
doesn't fit within the current design.
So is it possible to embed the design mode screen into a form so that
when they choose an query to edit it opens up in this window?

Thank
Katie

I do what you want by putting combo boxes on a form and letting the
user pick from values in the combo box. Then in the query that drives
the reports, in the fields that the user picks, I put an expression
forms!nameoftheform!nameofthecombobox in the criteria line. You
could also put an unbound field on that form for the user to enter a
date. I stick with combo boxes and date boxes for these applications
so the user has to enter a valid criteria. Best of luck -- Nance

Reply With Quote
  #3  
Old   
Salad
 
Posts: n/a

Default Re: embed query design mode screen into a form? - 11-24-2010 , 06:06 AM



KatieK wrote:
Quote:
Hi

Is it possible to embed the query design mode screen into a form?
I would like to be able to allow users of my solution to edit and
create new queries but I have developed an interface with consistent
headers and side menu etc and it would not be very smart if the only
way they can access this design mode is via a separate screen that
doesn't fit within the current design.
So is it possible to embed the design mode screen into a form so that
when they choose an query to edit it opens up in this window?

Thank
Katie
I don't think so. You can try
docmd.OpenQuery "YourQueryName",acViewDesign
if you'd like.

Reply With Quote
  #4  
Old   
The Frog
 
Posts: n/a

Default Re: embed query design mode screen into a form? - 11-30-2010 , 02:19 AM



Might be worth a try, perhaps you can embed MS Query into a form
instead? I have not tried this, but in theory it should be
controllable. Not sure if the resultant queries are compatable or not,
but still.....

The Frog

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.