Reputation: 61
Hello I have a form 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
Upvotes: 1
Views: 3023
Reputation: 180908
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
Upvotes: 2