Hi,
I have a form that includes a nested subform. Based on a date entered in the main form, I need to create a table using DoCmd.OpenQuery. The problem is that I don't want the user to see the resulting table, which is happening now.
1) Does anyone know of a technique to get around this situation?
2) Should the code used to create the table be placed in the main form, or the subform? Which event is best to keep the user from seeing the result set?
TIA, Randy Smith
HTH,![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
Randy Smith, MCP
California Teachers Association
I have a form that includes a nested subform. Based on a date entered in the main form, I need to create a table using DoCmd.OpenQuery. The problem is that I don't want the user to see the resulting table, which is happening now.
1) Does anyone know of a technique to get around this situation?
2) Should the code used to create the table be placed in the main form, or the subform? Which event is best to keep the user from seeing the result set?
TIA, Randy Smith
HTH,
![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
Randy Smith, MCP
California Teachers Association