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 / Reports / Printing / November 2007

Tip: Looking for answers? Try searching our database.

open a form based on another

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bml337 - 13 Nov 2007 18:07 GMT
I have two forms "client" and "employee details"  I want to put a hyperlink
on the client form that will open up the employee details.  the relationship
is as such. one to many client to employee details.

client; ID, employee ID

employee details; ID,  client ID

i think im getting stuck on the where condition.

Signature

brandon

Klatuu - 13 Nov 2007 19:20 GMT
A hyperlink is not approriate here.  All you need is to use the OpenForm
method.
Signature

Dave Hargis, Microsoft Access MVP

> I have two forms "client" and "employee details"  I want to put a hyperlink
> on the client form that will open up the employee details.  the relationship
[quoted text clipped - 5 lines]
>
> i think im getting stuck on the where condition.
bml337 - 13 Nov 2007 19:26 GMT
OK but i still need to specify the where condition in the macro

>A hyperlink is not approriate here.  All you need is to use the OpenForm
>method.
[quoted text clipped - 3 lines]
>>
>> i think im getting stuck on the where condition.

Signature

brandon

Klatuu - 13 Nov 2007 19:31 GMT
Don't use a macro.  Just do it in VBA.
Signature

Dave Hargis, Microsoft Access MVP

> OK but i still need to specify the where condition in the macro
>
[quoted text clipped - 5 lines]
> >>
> >> i think im getting stuck on the where condition.
bml337 - 13 Nov 2007 19:37 GMT
i dont know any vba

>Don't use a macro.  Just do it in VBA.
>> OK but i still need to specify the where condition in the macro
>>
>[quoted text clipped - 5 lines]
>> >>
>> >> i think im getting stuck on the where condition.

Signature

brandon

Klatuu - 13 Nov 2007 19:52 GMT
It would be something like
EmployeeID = Forms!ClientForm!Employee

Just use the name of the field in the other form's record source, and the
name of the control in the current form that has the value you want to use.

I suggest you learn VBA.  It makes life a lot easier.
Signature

Dave Hargis, Microsoft Access MVP

> i dont know any vba
>
[quoted text clipped - 4 lines]
> >> >>
> >> >> i think im getting stuck on the where condition.
bml337 - 13 Nov 2007 20:06 GMT
great thank you.  any suggested books for reading... for a novice?

>It would be something like
>EmployeeID = Forms!ClientForm!Employee
[quoted text clipped - 8 lines]
>> >> >>
>> >> >> i think im getting stuck on the where condition.

Signature

brandon

Klatuu - 13 Nov 2007 20:16 GMT
Haven't read this one yet, but it may be an option for you:
http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764556592.html
Signature

Dave Hargis, Microsoft Access MVP

> great thank you.  any suggested books for reading... for a novice?
>
[quoted text clipped - 10 lines]
> >> >> >>
> >> >> >> i think im getting stuck on the where condition.
Jan Bundsen - 21 Nov 2007 18:52 GMT
I have Access 2002.  Would this book work for me?  

Jan

>Haven't read this one yet, but it may be an option for you:
>http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764556592.html

Signature

Posted via a free Usenet account from http://www.teranews.com

Klatuu - 21 Nov 2007 19:00 GMT
Yes, there is very little difference between 2002 and 2003.
Signature

Dave Hargis, Microsoft Access MVP

> I have Access 2002.  Would this book work for me?  
>
> Jan
>
> >Haven't read this one yet, but it may be an option for you:
> >http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764556592.html
 
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.