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 / Forms Programming / April 2005

Tip: Looking for answers? Try searching our database.

Passing arguments

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hector - 13 Apr 2005 19:20 GMT
Hi !
The intent:
In a form, I have a data entry subform linked to a recordset.
In the same form a have a graph.  I want the graph to be refreshed based on
a query generated by the subform based on the click event of the control in
the subform. In other words, if I click temperature I want the graph to
plot temperature and refresh the temperature as i enter more data in the
subform.  If I enter pressure data I want the graph to plot pressure etc.

The problem:
I have a public variable as string in the main form which I try to update
from the subform click event of the control (for example a text-box that
holds temperature or pressure).
Hector - 13 Apr 2005 19:23 GMT
Oops, I clicked too quickly.  When I try to pass the argument the public
variable of the form is not visible to the subform.  I tried vice versa and
it did not work.  Any suggestions?

Thanks
Hector - 13 Apr 2005 19:35 GMT
Ok, someone told me to use a module to pass the argument.
 
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.