musicarteca Posted March 12, 2006 Posted March 12, 2006 (edited) I want to place a global container field with the "delete" icon at the end of a portal row, it will be attached to a script to delete a row. The thing is that I don't want the image to appear on the last empty row of the portal. Therefore I would like to place a calculation container field that won't display the image if the row is empty (last row). The questions are: What would be the best calculation? do I have to make a calculation for each table, or a general calculation will work for all portals? Edited March 12, 2006 by Guest
Ender Posted March 12, 2006 Posted March 12, 2006 Use a global container field to hold the image (doesn't matter what table this resides in,) and a calculation with container result equal to the global (this calc must reside in the related table.) Place the related calculation field on the portal.
Genx Posted March 12, 2006 Posted March 12, 2006 You might also consider not allowing creation through this portal and make a dedicated relationship specifically for creating new records. Then just automate the process through a script. ~Genx
musicarteca Posted March 13, 2006 Author Posted March 13, 2006 Thank you very much for the answers, Genx, could you expand a little bit more on your proposal. Are you talking about entering the data in a group of global fields and then using a script to place them in the portal, or something else? Alejandro
Genx Posted March 13, 2006 Posted March 13, 2006 No, I just meant that you might create a blank record in the other table so that that you can then enter data into the newly created row in the portal. The dedicated record creation relationship was simply one way of achieving this end.
jwren Posted March 28, 2006 Posted March 28, 2006 Hi Ender I have a similar situation but I must be missing something! Working on a volunteer database and I want to show a red flag (global container field) when a volunteer has reached 5 or 10 years of service. The Years of service field is a calculation field (year current date - year date accredited). I only want the graphic to appear when that calculation equals 5 or 10 etc. Is this possible? Appreciate your posts.
Ender Posted March 28, 2006 Posted March 28, 2006 Service Pin (calculation, container result) = case(Years of Service = 5 or Years of Service = 10; red flag)
Recommended Posts
This topic is 6878 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