doran_doran
Registered User.
- Local time
- Today, 00:24
- Joined
- Aug 15, 2002
- Messages
- 349
Hi everyone,
I have a combo box in my form. I have script behind on change which loads another form prompting end user put a date.
I WORKS GREAT.
I dont want to pop the window unless there is a change. Currently, when user click on drop down to see their option the other form pops up. Anyhelp will be appreciated. I want form to pop up only if the value has changed.
Regards
Dianna
Code behind after update:
============================================
On Error GoTo Err_Current_Status_AfterUpdate
DoCmd.OpenForm "frmPlanStatusDate", , , "[GA_Record_ID_2]='" & [GA_Record_ID_2] & "'"
DoCmd.close acForm, "frmgroups"
Exit_Current_Status_AfterUpdate:
Exit Sub
Err_Current_Status_AfterUpdate:
MsgBox Err.Description
Resume Exit_Current_Status_AfterUpdate
=============================================
I tried it on after update and change and same things happen. I want to pop the window only if the value has change to something else. But user should be able to click on drop down arrow and see available choices. currently, the form pops up no matter what.
Thanks
I have a combo box in my form. I have script behind on change which loads another form prompting end user put a date.
I WORKS GREAT.
I dont want to pop the window unless there is a change. Currently, when user click on drop down to see their option the other form pops up. Anyhelp will be appreciated. I want form to pop up only if the value has changed.
Regards
Dianna
Code behind after update:
============================================
On Error GoTo Err_Current_Status_AfterUpdate
DoCmd.OpenForm "frmPlanStatusDate", , , "[GA_Record_ID_2]='" & [GA_Record_ID_2] & "'"
DoCmd.close acForm, "frmgroups"
Exit_Current_Status_AfterUpdate:
Exit Sub
Err_Current_Status_AfterUpdate:
MsgBox Err.Description
Resume Exit_Current_Status_AfterUpdate
=============================================
I tried it on after update and change and same things happen. I want to pop the window only if the value has change to something else. But user should be able to click on drop down arrow and see available choices. currently, the form pops up no matter what.
Thanks