A
Andi Lee Davis
I have this code which allows you to reverse an archived proposal to a live
one.
The 1st query is an update query and the second is a delete query.
However I can't get the information from my pop up box to correspond to
match the proposal / deal I want to change. The error is in the last two
lines.
Private Sub Command1_Click()
Dim Message
Dim Title
Dim Default
Dim strFilter As String
Message = "Enter the number of the Proposal Number you wish to reverse"
Title = "Proposal Number?"
Default = 0
StrPropNo = InputBox(Message, Title, Default)
Let ProposalID = StrPropNo
DoCmd.OpenQuery "ReverseProposal", acViewNormal, acEdit, "PropNo = " &
Queries!ReverseProposal!DealNo & ""
DoCmd.OpenQuery "ReverseProposal2", acViewNormail, acEdit, "PropNo = " &
Queries!ReverseProposal!DealNo & ""
End Sub
Could somebody help me with this? Thank you very much
Andi Lee Davis
one.
The 1st query is an update query and the second is a delete query.
However I can't get the information from my pop up box to correspond to
match the proposal / deal I want to change. The error is in the last two
lines.
Private Sub Command1_Click()
Dim Message
Dim Title
Dim Default
Dim strFilter As String
Message = "Enter the number of the Proposal Number you wish to reverse"
Title = "Proposal Number?"
Default = 0
StrPropNo = InputBox(Message, Title, Default)
Let ProposalID = StrPropNo
DoCmd.OpenQuery "ReverseProposal", acViewNormal, acEdit, "PropNo = " &
Queries!ReverseProposal!DealNo & ""
DoCmd.OpenQuery "ReverseProposal2", acViewNormail, acEdit, "PropNo = " &
Queries!ReverseProposal!DealNo & ""
End Sub
Could somebody help me with this? Thank you very much
Andi Lee Davis