> Its seems to be OK.
> Does the records display in a subform? If that the case the where statement
[quoted text clipped - 8 lines]
> > form... the Whereclause above doesn't seem to be having an effect... any idea
> > what the problem is here?
Do you have any code on the Load event of the form, where you might change
the record source?

Signature
If I answered your question, please mark it as an answer. That way, it will
stay saved for a longer time, so other can benifit from it.
Good luck
> No, the form I'm opening, frmConfigValue, is to open as a form itself, not as
> a sub-form inside another form....
[quoted text clipped - 11 lines]
> > > form... the Whereclause above doesn't seem to be having an effect... any idea
> > > what the problem is here?
hzgt9b@nopost.com - 25 Oct 2005 20:04 GMT
Oops... yea that's it... I should have remembered that...
So now, will I be able make use of the paramter in that DoCmd.Open command?
If so, how?
> Do you have any code on the Load event of the form, where you might change
> the record source?
[quoted text clipped - 14 lines]
> > > > form... the Whereclause above doesn't seem to be having an effect... any idea
> > > > what the problem is here?
Ofer - 25 Oct 2005 20:16 GMT
Yes you can, try and pass the criteria using the OpenArgs
DoCmd.OpenForm "frmConfigValue", , , , , ,"Key = 'TargetArchive'"
On the Load event you can add the OpenArgs as a criteria
Me.RecordSource = "Select TableName.* From TableName Where " & Me.OpenArgs

Signature
If I answered your question, please mark it as an answer. That way, it will
stay saved for a longer time, so other can benifit from it.
Good luck
> Oops... yea that's it... I should have remembered that...
>
[quoted text clipped - 19 lines]
> > > > > form... the Whereclause above doesn't seem to be having an effect... any idea
> > > > > what the problem is here?