Newbies tamala Posted May 28, 2014 Newbies Posted May 28, 2014 Hi all I have started using FileMaker about a month ago, and before then I haven't even heard about it. I've done a lot of reading, watched videos, went through training materials... Since then I normalized the existing database and am working on making things work properly. I managed to get filtered portals work and used ExecuteSQL to perform a count for which I didn't want to create another relationship. So far so good. But now I am stuck. It might be easy but I just don't see a solution. I want to create a layout that is not based on any table. It will just be a layout with a bunch of buttons that would open various reports. How can I do this? The way I understand it is that when I create a layout, I have to select a table. But then, even if I don't add any fields, the layout has some records and even though I don't display field information from the table, I can see that it depends on these records. I tried to use an empty table for the underlying table, but then the user can still click "New record" and even save empty records into this table, so I don't think this should be a solution. Thank you in advance!
Wim Decorte Posted May 28, 2014 Posted May 28, 2014 It is fairly common to add on table with no fields (call it "dev" or whatever). Base your layouts on that table. There always has to be a table for a layout. 1
H1sc Posted May 28, 2014 Posted May 28, 2014 Why don't you create a layout based on a table with no fields, that, on layout enter, delete all records from the table without dialog confirmation? 1
bcooney Posted May 29, 2014 Posted May 29, 2014 Main Menus are often based on a 1 record table. Use Security to not allow creation of new records in this table. Often, this table is also used as a System Prefs table (storing in its one record some container fields for logos, some global fields, etc.). Google "Prefs table" and OnOpen Script (which is now the OnFirstWindowOpen trigger). 1
Newbies tamala Posted May 30, 2014 Author Newbies Posted May 30, 2014 Thanks a lot, all of you. I have used an empty table and disabled record creation in security, which was previously unknown to me. It's always handy to learn something new.
Newbies tamala Posted May 31, 2014 Author Newbies Posted May 31, 2014 I didn't think that was possible. Thanks for the tip. Correct me if I am wrong. Deleting the table automatically disables "New Record" and "Create Record" buttons, which is what I wanted. However, the user can still search, so I still have to change this setting in security.
Rick Whitelaw Posted June 1, 2014 Posted June 1, 2014 You were right. It's not possible as far as I know. A layout must be based on a table even if it's an empty one. There's not much point in deleting an empty table anyway.
IdealData Posted June 1, 2014 Posted June 1, 2014 Well, it works in FM12 - try it and see what you get. Â It's an ideal way to have a button driven menu system! Â See attached.
Recommended Posts
This topic is 3830 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