Hi,

I'm using the code beneath to search a form.


Private Sub ZoekenCV_Click()
On Error GoTo Err_ZoekenCV_Click

    Dim stDocName As String
    Dim stLinkCriteria As String

    stDocName = "gegevens kandidaat"
    
    stLinkCriteria = "[Naam:]=" & "'" & Me![ZoekenCV] & "'"
    DoCmd.OpenForm stDocName, , , stLinkCriteria

Exit_ZoekenCV_Click:
    Exit Sub

Err_ZoekenCV_Click:
    MsgBox Err.Description
    Resume Exit_ZoekenCV_Click
    
End Sub


In this search option there is only 1 criterium called "Naam".
In my second search i want to use 2 cirteria.

Can anyone help me

thx,
 Rob




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/q7folB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ms_access/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to