Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OpenForm Where Clause 1

Status
Not open for further replies.

LakotaMan

Instructor
Aug 21, 2001
240
US
Hi All,

I am having some trouble with my OpenForm Where clause. I am using version 2003 and have a form with a client record on it. Need to get the Client Cases from another form, so have set up this code:

Code:
    DoCmd.OpenForm "frmClientCaseList", acNormal, , Forms![frmClientCaseList].[lngClientID] = Me.lngClientID

What have I overlooked? (I know, probably something obvious)!


Thanks for all your help,
LM
 
it has to be a string.
"lngClientID = " & Me.lngClientID
 
Why not simply use a linked subform ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
MajP: Thank you, that got me exactly what I needed!

PHV: Am chagrined to admit I don't think I've worked with linked subforms.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top