开发者

One Form To Many Forms

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜