Estou tentando abrir 23 relatórios através de um botão mais está dando um erro 3048 em tempo de execução, dizendo que nãp pode abrir mais bando de dados, mais se tentar abrir 19 relatórios não da erro. Existe um limite de abertura de relatórios?
Segue o código que uso para chamar os relatórios:
DoCmd.OpenReport "01_Rel_S", acViewPreview, "", "", acNormal
DoCmd.OpenReport "02_Rel_E", acViewPreview, "", "", acNormal
DoCmd.OpenReport "06_Rel_E", acViewPreview, "", "", acNormal
DoCmd.OpenReport "07_Rel_P", acViewPreview, "", "", acNormal
DoCmd.OpenReport "08_Rel_D", acViewPreview, "", "", acNormal
DoCmd.OpenReport "09_Rel_E", acViewPreview, "", "", acNormal
DoCmd.OpenReport "10_Rel_A", acViewPreview, "", "", acNormal
DoCmd.OpenReport "11_Rel_C", acViewPreview, "", "", acNormal
DoCmd.OpenReport "11_Rel_C1", acViewPreview, "", "", acNormal
DoCmd.OpenReport "12_Rel_E1", acViewPreview, "", "", acNormal
DoCmd.OpenReport "13_1_R2", acViewPreview, "", "", acNormal
DoCmd.OpenReport "13_2_Rel_C3", acViewPreview, "", "", acNormal
DoCmd.OpenReport "13_3_Rel_A3", acViewPreview, "", "", acNormal
DoCmd.OpenReport "14_Rel_O1", acViewPreview, "", "", acNormal
DoCmd.OpenReport "15_2_Rel_E4", acViewPreview, "", "", acNormal
DoCmd.OpenReport "15_3_Rel_R1", acViewPreview, "", "", acNormal
DoCmd.OpenReport "16_Rel_CI", acViewPreview, "", "", acNormal
DoCmd.OpenReport "26_A1", acViewPreview, "", "", acNormal
DoCmd.OpenReport "40_Rel_A5", acViewPreview, "", "", acNormal
Segue o código que uso para chamar os relatórios:
DoCmd.OpenReport "01_Rel_S", acViewPreview, "", "", acNormal
DoCmd.OpenReport "02_Rel_E", acViewPreview, "", "", acNormal
DoCmd.OpenReport "06_Rel_E", acViewPreview, "", "", acNormal
DoCmd.OpenReport "07_Rel_P", acViewPreview, "", "", acNormal
DoCmd.OpenReport "08_Rel_D", acViewPreview, "", "", acNormal
DoCmd.OpenReport "09_Rel_E", acViewPreview, "", "", acNormal
DoCmd.OpenReport "10_Rel_A", acViewPreview, "", "", acNormal
DoCmd.OpenReport "11_Rel_C", acViewPreview, "", "", acNormal
DoCmd.OpenReport "11_Rel_C1", acViewPreview, "", "", acNormal
DoCmd.OpenReport "12_Rel_E1", acViewPreview, "", "", acNormal
DoCmd.OpenReport "13_1_R2", acViewPreview, "", "", acNormal
DoCmd.OpenReport "13_2_Rel_C3", acViewPreview, "", "", acNormal
DoCmd.OpenReport "13_3_Rel_A3", acViewPreview, "", "", acNormal
DoCmd.OpenReport "14_Rel_O1", acViewPreview, "", "", acNormal
DoCmd.OpenReport "15_2_Rel_E4", acViewPreview, "", "", acNormal
DoCmd.OpenReport "15_3_Rel_R1", acViewPreview, "", "", acNormal
DoCmd.OpenReport "16_Rel_CI", acViewPreview, "", "", acNormal
DoCmd.OpenReport "26_A1", acViewPreview, "", "", acNormal
DoCmd.OpenReport "40_Rel_A5", acViewPreview, "", "", acNormal