P
Pasadena-D
Hello,
I have a user form that when the user clicks the ok button I want it to open
another form based on the same record number. I can make this happen using
the Access Macro as follows:
Form Name: frmTask_Complete
View: Form
Filter Name:
Where Condition: [Task_ID]=[Forms]![frmTask_List]![Task List Subform].[Form]!
[Task_ID]
Data Mode:
Window Mode: Normal
I want to use VB Code instead of the Access Macro, since I have other
controls I want to run and Access Code is very limited, but I cannot get my
VB Code to open the frmTask_Complete with the current record (Task_ID).
Here's the VBA Code I'm using:
DoCmd.OpenForm "frmTask_Complete", acNormal, , [Task_ID] = [Forms]!
[frmTask_List]![Task List Subform].[Form]![Task_ID], acFormEdit
Please help! I have spend hours and hours on this with no success.
I have a user form that when the user clicks the ok button I want it to open
another form based on the same record number. I can make this happen using
the Access Macro as follows:
Form Name: frmTask_Complete
View: Form
Filter Name:
Where Condition: [Task_ID]=[Forms]![frmTask_List]![Task List Subform].[Form]!
[Task_ID]
Data Mode:
Window Mode: Normal
I want to use VB Code instead of the Access Macro, since I have other
controls I want to run and Access Code is very limited, but I cannot get my
VB Code to open the frmTask_Complete with the current record (Task_ID).
Here's the VBA Code I'm using:
DoCmd.OpenForm "frmTask_Complete", acNormal, , [Task_ID] = [Forms]!
[frmTask_List]![Task List Subform].[Form]![Task_ID], acFormEdit
Please help! I have spend hours and hours on this with no success.