Ninash,
Depending on your operating system and VB version you may try either of these.
DoCmd.RunCommand acCmdPrint
or
Declare Function PrintDialog Lib "comdlg32.dll" Alias "PrintDlgA" (pPrintdlg As PRINTDLG_TYPE) As Long
Well, I played around with it a little more and figured it out. So, thanks anyway. FYI the code is below. Oh, sorry I didn't surround the code in my original post with tags.
In order to get both fields in the same column without duplicates I created two queries.
1. One make table query...
Hi Folks,
I've previously created a Table of Contents using one field from another report's recordset. Now, (of course) my user wants additional information. This is a drug database that keeps up with various info including Generic name and Brand name. My current Table of Contents is for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.