1)hvad mener du med "back in 5! 2) det drejer sig om en Formular ikke om en tabel 3) dim acc as access.aplication ' den har jeg ikke i min Library, ved du hvad den hedder ??
enric, back in five (I will be back in five minutes, but it only took one :o) )
YES this solution will display a form in Access. It will open your Access database and display the form "frmTest1" (EXAMPLE)
You must go into the Project references menu and select Microsoft Access so that you have a reference to Access. This is why you can not use dim acc as access.application (NOT aplication)
I dont understand WHY access is not visible. If you see access gets open then this is the acc.visible working and unless you say acc.visible = false or acc.quit (closes the dB) then it should still be visible.
Try going in the task manager to see if it is still "active"
If you are in VB debugger and you step through the code then Access will NOT be the active window but it will still be behind VB. Run the code WITHOUT any breakpoints
Terry ar you der: kan du hjælpe mig, jeg kan ikke få dine pogrammer til at virke, jo den virker men den forsvinder med det sammen, jeg kan ikke arbejde med den kun hvis jeg bruger debugger eller jeg put word STOP men så stopper det, og jeg kan ikke komme videre. har du nogen kommentar Enric
enric, you can send me your source and dB and I can have a look, but it SHOULD work. If you send it then please ZIP the files, I WILL get back to you but I am rather busy at the moment so there may go a couple of day. eksperten@santhell.dk
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.