mix Posted May 7, 2008 at 11:54 AM Report Share #183763 Posted May 7, 2008 at 11:54 AM Amigos estou com um problema!! Quando eu carrego no botao para abrir o data report respectivo pela segunda vez consecutiva ele da-me este erro: Run time error 3705 - A operação não é permitida se o objecto estiver aberto!! O codigo que esta no botão é o seguinte: Private Sub cmd_imprimir_Click() ligacao.imp_apolices txt_numero.Text Load dt_imp_apolices dt_imp_apolices.Show End Sub Link to comment Share on other sites More sharing options...
asworm Posted May 7, 2008 at 12:47 PM Report Share #183767 Posted May 7, 2008 at 12:47 PM é facil.. tu estas a abrir duas vezes sem fechar, nao consegues abrir duas vezes uma porta, abres, fechas e depois voltas a abrir... cumps Got it? Link to comment Share on other sites More sharing options...
mix Posted May 8, 2008 at 10:44 AM Author Report Share #183956 Posted May 8, 2008 at 10:44 AM Amigo ponho o close aonde? Depois do data report abrir? Cumprimentos!!! Link to comment Share on other sites More sharing options...
mix Posted May 13, 2008 at 01:28 PM Author Report Share #184816 Posted May 13, 2008 at 01:28 PM responde é que preciso disso urgentemente!!!! Link to comment Share on other sites More sharing options...
programadorvb6 Posted May 14, 2008 at 09:07 PM Report Share #185159 Posted May 14, 2008 at 09:07 PM resposta : Quando deste estas 2 instruções são idênticas , portanto podes retirar 1ma pois qualquer 1 delas faz o mesmo: "Load dt_imp_apolices " " dt_imp_apolices.Show" <-- para se + direito fica só com esta ______________________________________________________________________________ Que minha coragem seja maior que meu medo e que minha força seja tão grande quanto minha fé. Link to comment Share on other sites More sharing options...
mix Posted May 15, 2008 at 11:18 AM Author Report Share #185259 Posted May 15, 2008 at 11:18 AM Muito obrigado pela ajuda!!!! 😉 Cumprimentos!! mas agora surgiu-me outro problema, È que eu tenho isto a imprimir sio um registo o codigo é o seguinte: ligacao.imp_apolices txt_numero.Text dt_imp_apolices.Show e da-me erro na 1 linha, diz k o objecto esta aberto. Como é que faço? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now