开发者

I want to open another form based on another form value in Access

开发者 https://www.devze.com 2023-02-20 02:57 出处:网络
Hello I have a form开发者_Go百科 in access that drop list value. \"Transer\",\"Promo\", and \"New\". If the user choose transfer or promo, it will open another form call old info and in that form it s

Hello I have a form开发者_Go百科 in access that drop list value. "Transer","Promo", and "New". If the user choose transfer or promo, it will open another form call old info and in that form it should transfer the same ID that the user entered first time. Can anyone help me please


DoCmd.OpenForm strMyFormName, , ,"ID = " & intMyID

http://msdn.microsoft.com/en-us/library/aa220276(v=office.11).aspx

You can access the value you passed in intMyID using Me.OpenArgs.

http://msdn.microsoft.com/en-us/library/aa160845(office.10).aspx

0

精彩评论

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

关注公众号