angelleye Posted February 20, 2007 Posted February 20, 2007 In Access I can use the following SQL statement to return only the last 10 records in the table. SELECT TOP 10 zID FROM Customers FileMaker gives me a parsing error on this. In my research I see that MySQL and Oracle have different syntax for this. Does FileMaker have something I can use for this feature? Any information would be greatly appreciated. Thanks!
mr_vodka Posted February 20, 2007 Posted February 20, 2007 How about something like: Show All Records Go to Record [(Get Found Count) -9 ] Omit multiple Records [10] Show omitted only
angelleye Posted February 20, 2007 Author Posted February 20, 2007 I'm not making a filemaker script. this is a SQL select from a web application connecting to FM via ODBC.
mr_vodka Posted February 20, 2007 Posted February 20, 2007 Does FileMaker have something I can use for this feature? Any information would be greatly appreciated. Thanks! Well I know that your issue was with the SQL, but the last part of your post seemed as though you were looking for an alternative.
angelleye Posted February 20, 2007 Author Posted February 20, 2007 Sorry for the confusion. I meant an alternative to the SELECT TOP method of limiting the records returned. What I'm really trying to do is limit the number of records that the script goes through to determine if they should be included in the recordset.
Recommended Posts
This topic is 6484 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