I have a keyword search in my database that uses a query to trigger a paramenter box. This is what's in the field:
Like "*" & [Enter Keyword to Search For] & "*"
It then opens a form that displays all the records that meet the keyword.
Unfortunately, if the user types in a keyword that isn't in a record, the form still opens to no records. I'd like to convert the parameter criteria to visual basic so that if no records are found, a message box could be triggered instead of the using getting the blank form. However, I'm still a beginner at Visual Basic. Can anyone help?
Thanks!
Linda Adams
Visit my web site for writing and Microsoft Word tips: Official web site for actor David Hedison:
Like "*" & [Enter Keyword to Search For] & "*"
It then opens a form that displays all the records that meet the keyword.
Unfortunately, if the user types in a keyword that isn't in a record, the form still opens to no records. I'd like to convert the parameter criteria to visual basic so that if no records are found, a message box could be triggered instead of the using getting the blank form. However, I'm still a beginner at Visual Basic. Can anyone help?
Thanks!
Linda Adams
Visit my web site for writing and Microsoft Word tips: Official web site for actor David Hedison: