Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default ComboBox Form for CrossTab Query filtering

I have a new queried report that takes the PRODUCT table inner-joined with a
CrossTab query, CT_ZONE_PRICE. Im having trouble with a form that the user
can choose only their regional ZONE & get only their columnized regional
pricing.

I can do this by 1st manually filtering the field named [ZONE] in the
ZONE_PRICE Query that the CT_ZONE_PRICE is CrossTab queried from. Then run
the macros to create the reports. I tried with Form filter Like
[Forms]![ZONE_PRICE_ Form]![ZONE] within the ZONE_PRICE Query & also with a
ApplyFilter in a macro, WHERE ((([ZONES].ZONE) Like [Forms]![ZONE_PRICE_
Form]![ZONE])).


The SALES_REPORTS form below works for a simple query report.
This form has several combo boxes where a user can choose the filtering
criteria for their reports. This form runs great with the following DoCmd.

Private Sub Command6_Click()
Me.Visible = False
DoCmd.OpenQuery "MT_PROD_SALES", acViewNormal, acEdit
DoCmd.Close acForm, "SALES_REPORTS"
DoCmd.RunMacro "SALES_Macro"

End Sub
--
Thanks, Kevin
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combobox Query Greg[_27_] Excel Programming 3 May 22nd 06 06:15 AM
Combobox query? Greg B[_8_] Excel Programming 2 March 14th 06 12:35 AM
Filtering and coping w/combobox sebastianmur Excel Programming 0 October 13th 05 03:05 PM
Filtering Values using a Combobox teresa Excel Programming 2 December 1st 04 01:20 AM
Filtering ComboBox shrekut[_3_] Excel Programming 2 January 15th 04 02:09 PM


All times are GMT +1. The time now is 08:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"