Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / May 2004

Tip: Looking for answers? Try searching our database.

use data entered in unbound controls (on a form) when printing a report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karen - 25 May 2004 18:59 GMT
I have a table that is the item master (code,desc,desc2,)

Then I have a table that's a list of ingredients (code, rm#,
desc,desc2,amount,units).

On a form the user enters a code and a batch size. The query brings up the
ingredients and calculates the amount needed (ingredients.amount *
batchsize).  Works great.

Now for the question...
I need to make a printed Prep sheet that shows the results of the above
query.  I know how to design a report but how can I use the batchsize (an
unbound control) on the report to do the calculation?

Thanks,

Karen
Karen - 25 May 2004 20:17 GMT
i got it.  on the report i made an unbound control that refers to the
control on the form.  You can't close the form when printing (not a big deal
for me since the user needs to see the form immediately anyway).  the
control source for the unbound control on the report is something like this:

[forms]![formname]![fldname]

> I have a table that is the item master (code,desc,desc2,)
>
[quoted text clipped - 13 lines]
>
> Karen
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.