Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MS access combo box
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MS access combo box

 Post Reply Post Reply
Author
urko View Drop Down
Groupie
Groupie
Avatar

Joined: 23 September 2004
Location: Slovenia
Status: Offline
Points: 160
Post Options Post Options   Thanks (0) Thanks(0)   Quote urko Quote  Post ReplyReply Direct Link To This Post Topic: MS access combo box
    Posted: 03 October 2006 at 3:52pm
im building a small script for myself and have one problem:

in Access - i havemain form and a subform that include following fields:

Category (ComboBox) - Independant
Product (ComboBox) - Dependent
Price (textfield)
Total

I would like that when you select lets say category1 from Combo box - Category,
that in Product combo box only products that are under that category would be displayed.

I have write this code but i always get items from category1

SELECT DISTINCT ARTIKLI.ID, ARTIKLI.Name, FROM Products WHERE (((Products.IDKat)=[SubFormOrder]!IDKat)) ORDER BY Products.Name;


IDKat is the name/source of combobox 1 (Category (ComboBox)).

Thanks
Urko
Back to Top
PrivateEye View Drop Down
Groupie
Groupie
Avatar

Joined: 21 March 2003
Location: United Kingdom
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote PrivateEye Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2006 at 3:55pm
I am also looking for this :(
The Judgement Day
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.