Annette Marie Posted August 12, 2010 Posted August 12, 2010 Ok....stupid question i'm sure.....I'm trying to create a database and I'm new to FM and databases. I'm trying to look at some of the sample databases for help. While looking at the relationships in the Invoices database I was curious how the grey relationships were created since they aren't tables. For example LineItemsByBillingID. Because I want to do something like that and not sure how it was created.
bruceR Posted August 12, 2010 Posted August 12, 2010 They are TOs - Table Occurrences. Nothing on the graph "is" the underlying table. Everything on the graph is a "shortcut" or "alias" to the table, and these are called "table occurrences" or "TO"s. Just like with standard file-level shortcuts, you can give them different names and put them in different places. Just like with file-level shortcuts or aliases, removing the shortcut does not remove the original file. You can have a completely empty graph; but that does not mean the underlying tables have been deleted. It's a very powerful concept but takes a bit to get your head around.
Annette Marie Posted August 13, 2010 Author Posted August 13, 2010 Ok...well....everything you just said was like Greek to me! ha. I just can't figure this FM out. I'm having a much more difficult time creating this database then I thought I would.
comment Posted August 13, 2010 Posted August 13, 2010 In simple words: you can place the same table onto the relationships graph several times (though not with exactly the same name). For example, you may have a relationship between Clients and Invoices, matching on ClientID. Now you want another relationship, showing only client's invoices in the current year. For this, you must use another occurrence of the Invoices table (which you would probably rename to "CurrentInvoices") and define a new relationship between it and Clients.
Recommended Posts
This topic is 5276 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