Newbies FranklynJones Posted November 8, 2010 Newbies Posted November 8, 2010 I am very new to filemaker - so please excuse the simple question. All I want to do (and I don't want to use the Find View) is to have an empty text field that a user can type in some text, and hit a search button on the page - which then searches accross my single tabled database in a field called items and goes to a list view of these items. I just can't seem to work it out. Thanks for your help. Regards, -FJ
efen Posted November 8, 2010 Posted November 8, 2010 Welcome to the forums. Create a global text field and use this as the empty field for the user to enter search terms. Create a script - on the "Find" button - along the lines of: Allow user abort off Set error capture on If IsEmpty (global field) Exit script End if Enter find mode Set field "items" with contents of the global field Perform find If found count = 0 Show message "None found" End if Go to list layout
bruceR Posted November 8, 2010 Posted November 8, 2010 To clarify, the second if statement would be: If [ get(foundCount) = 0]
Recommended Posts
This topic is 5127 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now