stanley Posted January 6, 2004 Share Posted January 6, 2004 Hi all: I had thought this would be very simple, but once I realized I'd never done it before, I just ran into a mental wall. Instead of beating my head against that wall, I've moved on to the next problem and am posting the question here: I just want each row in a portal to show an item number, starting from 1 and going to how ever many rows are currently being shown in the portal. This is a formatting issue requested by the client, like this: 1. (Item description, Item price) 2. (Item description, Item price) 3. (Item description, Item price) etc., but if there's only 3 items showing in a six-row portal, I want the numbers to stop at 3. It's really simple, right? So what's the easy answer? Thanks in advance, -Stanley Link to comment Share on other sites More sharing options...
-Queue- Posted January 6, 2004 Share Posted January 6, 2004 Put @@ in the first row of your portal. It's the symbol for current record number. Link to comment Share on other sites More sharing options...
Ugo DI LUCA Posted January 6, 2004 Share Posted January 6, 2004 Insert Record Number symbol @@ Link to comment Share on other sites More sharing options...
Ugo DI LUCA Posted January 6, 2004 Share Posted January 6, 2004 Quick Queue was not Quitting his keyboard Link to comment Share on other sites More sharing options...
Lee Smith Posted January 6, 2004 Share Posted January 6, 2004 Hi Ugo, I guess that would be the French way of saying it, huh? Lee Link to comment Share on other sites More sharing options...
stanley Posted January 6, 2004 Author Share Posted January 6, 2004 Man, you guys are fast. I knew it would be simple. Thanks -Stanley Link to comment Share on other sites More sharing options...
veganboyjosh Posted January 12, 2004 Share Posted January 12, 2004 is there a way to run the numbers abckwards? ie. i have a portal whose records are sorted by date, with the oldest records at the bottom of the portal and the newest ones at the top. this way i can see the most recent activity without scrolling to the bottom of the portal. i'd like to number them this way as well. any ideas? Link to comment Share on other sites More sharing options...
Ugo DI LUCA Posted January 12, 2004 Share Posted January 12, 2004 May be through the ValueListItems( ) function. Create a Value List of Record_IDs involving your Portal Relationship. Use the sorted by second value option, and pick the 'DateField'. Now : c_VLI = ValueListItems(Status(CurrentFileName),"IDsListSorted") and Patterncount(c_VLI," Link to comment Share on other sites More sharing options...
Anthony Talo Posted April 28, 2004 Share Posted April 28, 2004 Thanks! That solved one of my long-running problems. But where can I find a list of those symbols? It's more that the "Find" symbols isn't it?!? Link to comment Share on other sites More sharing options...
Pek Posted July 4, 2004 Share Posted July 4, 2004 is there a simple way to then get the @@ to appear on a report from the data in the portal? Ric Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7228 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