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 / General 2 / May 2007

Tip: Looking for answers? Try searching our database.

On Click of a Subform

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob - 25 May 2007 10:28 GMT
I have a subform on another Form, The subform has a Textbox/Control Source
[ClientID] what would I need in the Textbox/Control Source [Name]  On Click
event to go to frmClientInfo,that has the same ClientID
(AutoNumber)................Thanks for any Help.....Bob
Wayne-I-M - 25 May 2007 11:00 GMT
Hi Bob

Private Sub ClientID_Click()
   Dim stDocName As String
   Dim stLinkCriteria As String
   stDocName = "frmClientInfo"
   stLinkCriteria = "[CDClientID]=" & Me![CDClientID]
   DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub

Signature

Wayne
Manchester, England.

> I have a subform on another Form, The subform has a Textbox/Control Source
> [ClientID] what would I need in the Textbox/Control Source [Name]  On Click
> event to go to frmClientInfo,that has the same ClientID
> (AutoNumber)................Thanks for any Help.....Bob
Bob V - 25 May 2007 23:00 GMT
Thanks Wayne , absolutely fantastic :) , I did drop the CD out of CDClientID
, is that OK?.....Regards Bob

> Hi Bob
>
[quoted text clipped - 12 lines]
>> event to go to frmClientInfo,that has the same ClientID
>> (AutoNumber)................Thanks for any Help.....Bob
 
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.