searchFormula7$ = { Form="EmpFld_D" & EType_T="x" & RYes_No="Yes" | RYes_No="No" & Rgn_T="}+Region & {"}
searchformula$=searchformula$ &"&(" &searchformula7$&")"
End If
End If
'End of region logic
Dim rccgmcoll As NotesDocumentCollection
'Special search criteria for ACC Employed By and Region Office yes criteria
If doc.HasItem("EmployedBy_T") Then
If employed.contains("ACC ") And Querying.contains("Region") And OfficeOnly="Yes" And found1=True Then
searching$={Form="EmpFld_D" & EType_T="X" & RYes_No="Yes" & EmpBy_T="ACC" &Rgn_T="}+Region &{"&(MktArea_T!="" | AreaDesc_T!=""))}
specialcaseformula$= specialcaseformula$ &"&" & searching$
Set rccgmcoll=maildb.Search(specialcaseformula$,Nothing,0)
End If
End If
I need to insert below condition aslo in if place ,Could u please tell me waht is the way i have put this conditoon aslo needs to be satisfey in if loop.