voltrate Posted June 1, 2005 Posted June 1, 2005 Hi, I have 2 tables: a "transact" table to record every payment for a "Customer" table. I created a portal under customer layout so as to view all the transactions for a particular customer. Question: How can I create a sequential number next to every portal record to show how many transactions there are. Currently I can only view the records but I have to count the number of records. Many thanks in advance.
aaa Posted June 1, 2005 Posted June 1, 2005 Use Count(YourPortalRelationName::Any_Field) for show "how many transactions there are"; Use @@ before every record in portal for "create a sequential number"
voltrate Posted June 4, 2005 Author Posted June 4, 2005 Cheers. I will digest your solution and let you know if I have further queries again. Thanks.
voltrate Posted June 6, 2005 Author Posted June 6, 2005 Sorry I am rather new FM7. Are you able to show me the steps on what you meant by a) Use Count(YourPortalRelationName::Any_Field) and b)Use @@ before every record in portal. Thanks for your help. Rgds
-Queue- Posted June 7, 2005 Posted June 7, 2005 If you want to display a total outside the portal, then create a calculation field with Count(PortalRelationship::serial), where PortalRelationship is the same relationship that the portal uses and serial is the unique identifier for each related record. If you want each row to display a sequential number, starting from 1, then type @@ on your layout and then put it within the portal's first row. See attached for examples. sample.zip
naguszed Posted July 13, 2005 Posted July 13, 2005 thanks for the tip.. this helped me get up to speed on something new.
Recommended Posts
This topic is 7074 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