Avatar billede mickill Nybegynder
26. juni 2002 - 15:50 Der er 13 kommentarer og
1 løsning

Udskrive formular

Kan man udskrive en formular som rapport ??

Avatar billede double-g Juniormester
26. juni 2002 - 16:17 #1
En formular er bare en mere overskuelig måde at vise data på fra en tabel eller en forespørgsel.
Så svaret er vel, nej det kan du ikke, men du kan udskrive en rapport fra den tabel eller den forespørgsel som formularen bygger på.
Avatar billede terry Ekspert
26. juni 2002 - 16:45 #2
you CAN print a form as a report
Avatar billede terry Ekspert
26. juni 2002 - 16:53 #3
Docmd.PrintOut acSelection
Avatar billede terry Ekspert
26. juni 2002 - 16:55 #4
for each object on th eform there is a property "Display When" if you set this field to "Screen Only" then it doesnt get printed. So you can set this propery for thoese fields you do not want to print!
Avatar billede susanne_larsen Nybegynder
26. juni 2002 - 17:33 #5
>>mickill hvorfor ønsker du at udskrive en form? bliver sjældent et særlig kønt syn...
Avatar billede mickill Nybegynder
27. juni 2002 - 10:20 #6
>>terry, what do you mean by "Docmd.PrintOut acSelection"....Is it something that I should write somewhere ??

Now I can make my buttons dissapear when I print, which is good.

>>susanne, du har fuldstændig ret det er også derfor jeg spørger om det er muligt at få en formular udskrevet som en rapport.
Avatar billede terry Ekspert
27. juni 2002 - 10:27 #7
Place a button on the form using the button wizard. You can choose to print a form! This will palce a button on the form which when pressed will print your form. There is CODE inthe on click event for this button which can be modified if it doesnt work as you want.

The code I gave in the question was another way to do it but.
Avatar billede mickill Nybegynder
27. juni 2002 - 10:41 #8
Okay, now I understand....Thanks

I'll give you 30 points ekstra, if you can tell me how I can use a picture as background, if possible. When I insert a picture, I can only see the picture and not the form.
Avatar billede terry Ekspert
27. juni 2002 - 10:53 #9
There is a property "Picture" where you choose the picture you want to use as the background, and also
one named "Picture Size Mode" which you should play around with to get the right effect.
Avatar billede mickill Nybegynder
27. juni 2002 - 11:05 #10
The only property I can find that has something to do with background is "background color".....Where do I find the property "picture" ??
Avatar billede terry Ekspert
27. juni 2002 - 11:10 #11
It is a FORM property "Picture"
Avatar billede mickill Nybegynder
27. juni 2002 - 11:41 #12
Ok, it's the same property that I've used so far, and when I use that, the picture covers the form, instead of laying in the background.
Avatar billede terry Ekspert
27. juni 2002 - 11:47 #13
I dont know what to suggestthen, it seems to work OK here!
Avatar billede mickill Nybegynder
27. juni 2002 - 12:11 #14
Well, thanks anyway.
Avatar billede Ny bruger Nybegynder

Din løsning...

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.

Loading billede Opret Preview
Kategori
Dyk ned i databasernes verden på et af vores praksisnære Access-kurser

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester