Newbies INFRA Posted October 9, 2009 Newbies Posted October 9, 2009 I am very new to FM, so please be patient with my ignorance. I'm trying to make improvements to a database that I did not build myself. So I am still struggling to understand some of the ways this database works I have records for "members" and each member has multiple location addresses associated with it. The multiple locations are entered into a portal linked to the members by a member ID number. I need to build a script that returns members locations based on an option selected in a drop down menu field that is part of the portal. So for example, a location could be a Store Front, and Office, or a Warehouse. These are the three options in the drop down menu. What sort of function do I use to return all Store Fronts?
bcooney Posted October 9, 2009 Posted October 9, 2009 Welcome to the forum, AAshindelar. You are describing a "filtered portal". Do your addresses have a field that contains their type; "Store Front, Office or Warehouse?" You would create a global field in the Member table, put it on the layout, above the portal and set it to a value list of address types. Then add to the portal relationship a second criteria in addition to the existing Member::MemberID=Address::MemberID. The second criteria for the relationship is Member::gFilterAddrType=Address::AddressType. You do not need a script.
Newbies INFRA Posted October 14, 2009 Author Newbies Posted October 14, 2009 Great! Thanks. I'll give that a try.
Recommended Posts
This topic is 5519 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