开发者

One Form To Many Forms

开发者 https://www.devze.com 2022-12-20 09:09 出处:网络
I hav开发者_Python百科e form with 1 button. when you click on the button 3 others appear which relate to product colours red green or blue.

I hav开发者_Python百科e form with 1 button. when you click on the button 3 others appear which relate to product colours red green or blue.

At the moment when you click on a colour button it opens a form just for that colour product.

Is it possible to have just one colour form that opens when any colour button is clicked but will filter the parts related to the colour.


The arguments for the OpenForm method of DoCmd include Where, so you can have something like:

 DoCmd.OpenForm "FormNameHere",,,"Colour='" & Me.txtBoxWithColourName & "'"
0

精彩评论

暂无评论...
验证码 换一张
取 消