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

Tip: Looking for answers? Try searching our database.

Pop Up Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Melissa - 04 May 2007 14:56 GMT
Hello,

I have an overall complaint form. I also have a form for contact
information. When the user clicks on a label I've created the contact info
pops up just fine. What I'm having trouble figuring out is if there are no
records in the contact that have the ComplaintID and TaskID (these are my
unique values), how do I get it to open a new record with those IDs already
populated. Here is my code to open the contact form:
Dim ComID As Long, TaID As Long
ComID = Me.ComplaintID.Value
TaID = Me.TaskID.Value

DoCmd.OpenForm "frmContact", acNormal, , "ComplaintID = " & ComID & " And
TaskID = " & TaID & ""

Any Suggestions?
Melissa - 04 May 2007 15:07 GMT
Never mind I figured it out on my own. Thanks

> Hello,
>
[quoted text clipped - 12 lines]
>
> Any Suggestions?
 
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



©2009 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.