Newbies hbortman Posted June 9, 2004 Newbies Posted June 9, 2004 I want to show a record's record number in one of its fields. I have tried using a calculated field set equal to Status (CurrentRecordID) but when I look at it in browse mode, nothing displays in the field. Does this have anything to do with the fact that this function returns a hexadecimal number? Is there another way to accomplish this goal?
dbruggmann Posted June 9, 2004 Posted June 9, 2004 Are there any records in the found set? Is the calc result formatted as number? Or is the text formatted as invisible? Status (CurrentRecordID) doesn't return hex numbers, just plain decimals.
Newbies hbortman Posted June 9, 2004 Author Newbies Posted June 9, 2004 I guess I wasn't clear. There is no found set. The record number I want to display is the same number that appears on the little Rolodex-like icon that shows up on the left in Browse mode, the one that lets you scroll through the records by clicking it. Yes, the calc result is formatted as a number. I didn't do anything that I'm aware of to make the text invisible. How would I check that? As for the hexadecimal, I'm glad it's not; I was just going by what it said in the Help notes.
Ender Posted June 9, 2004 Posted June 9, 2004 Use a calc with Status(CurrentRecordNumber), with storage option set to calculate only when needed.
RalphL Posted June 9, 2004 Posted June 9, 2004 Set the field to unstored. But RecordID isn't what you want. RecordID is an internal number used by Filemaker. Once it is assigned in never changes. The easiest way to display the record number is to use the insert command in tha layout mode. This will put @@ on the layout which displays the record number just like the Rolodex.
Recommended Posts
This topic is 7733 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