![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| ||||
| ||||
|
|
"Cerulean" schreef in bericht news:9ljhg6l2hf4rr5mk1nbmieupt78ee24ju2 (AT) 4ax (DOT) com... I have a FMP6 db with over 2000 records. I didn't add an automatic unique field identifier so now that I need one for the first time, is there some way to have this new field automatically populated with numbers? I have it set to unique contents only, etc., and then will lock it out so users can't edit afterwards but it would be nice to have a way to get those numbers in without my having to manually number all 2000+ records. Is there a way? Thanks. DIt is the most easy if you haven't used the field for any relationships yet. |
|
Put the field on a layout and make sure you can enter it when browsing find all records key CTRL-= (on windows) You get a new window (replace field contents) select the second option (replace with serial numbers) initial value 1 (or 0000001 or MyID000001 or whatever you need) Increment by 1 select update serial number click replace |
|
Be aware: this is a very powerfull option! Make sure you have entered all values as wanted AND i would advice to work on a copy of your file. |
|
If you already have some sort of relationship defined you must leave out those records, count them and start the initial value at count+1 Hou je goed / keep well, Ursus |
#4
| ||||||
| ||||||
|
|
"Cerulean" schreef in bericht news:9ljhg6l2hf4rr5mk1nbmieupt78ee24ju2 (AT) 4ax (DOT) com... I have a FMP6 db with over 2000 records. I didn't add an automatic unique field identifier so now that I need one for the first time, is there some way to have this new field automatically populated with numbers? I have it set to unique contents only, etc., and then will lock it out so users can't edit afterwards but it would be nice to have a way to get those numbers in without my having to manually number all 2000+ records. Is there a way? Thanks. DIt is the most easy if you haven't used the field for any relationships yet. |
|
Put the field on a layout and make sure you can enter it when browsing |
|
find all records |
|
key CTRL-= (on windows) |
|
You get a new window (replace field contents) select the second option (replace with serial numbers) initial value 1 (or 0000001 or MyID000001 or whatever you need) Increment by 1 select update serial number click replace |
|
Be aware: this is a very powerfull option! Make sure you have entered all values as wanted AND i would advice to work on a copy of your file. If you already have some sort of relationship defined you must leave out those records, count them and start the initial value at count+1 Hou je goed / keep well, Ursus |
D
#5
| |||
| |||
|
|
On Wed, 15 Dec 2010 19:37:02 +0100, <Ursus> wrote: "Cerulean" schreef in bericht news:9ljhg6l2hf4rr5mk1nbmieupt78ee24ju2 (AT) 4ax (DOT) com... I have a FMP6 db with over 2000 records. I didn't add an automatic unique field identifier so now that I need one for the first time, is there some way to have this new field automatically populated with numbers? I have it set to unique contents only, etc., and then will lock it out so users can't edit afterwards but it would be nice to have a way to get those numbers in without my having to manually number all 2000+ records. Is there a way? Thanks. DIt is the most easy if you haven't used the field for any relationships yet. Check. Put the field on a layout and make sure you can enter it when browsing Check. find all records Can you believe I got stuck already? I know how to SHOW all records, but find them? Is this possible in FMP6? I've gone through all the menu pulldowns and even tried via a script but nothing. Can you describe the process a bit more so that if it's a command from another version of FMP, I can see if I can figure out how to do it. Googling yielded no results either since it seems we always have to put something in the find field. Putting in *.* of course didn't work since it requires a number. |
|
key CTRL-= (on windows) I didn't know here what you meant after CTRL. Is it CTRL + -, THEN CTRL + = ? Neither yielded any discernible results, so not sure what this is supposed to do. |
)
#6
| |||
| |||
|
|
this is supposed to do. Hold down the CTRL key and press the = key ... but the keyboard shortcut may have been changed in different versions of FileMaker. Instead, just go to the Records menu and choose the Replace option, then continue with the rest of Ursus' instructions. |
#7
| |||
| |||
|
|
any discernible results, so not sure what this is supposed to do. Hold down the CTRL key and press the = key ... but the keyboard shortcut may have been changed in different versions of FileMaker. Instead, just go to the Records menu and choose the Replace option, then continue with the rest of Ursus' instructions. Except we left out that the cursor should be inside the field that is going to be changed. |
)
#8
| |||
| |||
|
|
any discernible results, so not sure what this is supposed to do. Hold down the CTRL key and press the = key ... but the keyboard shortcut may have been changed in different versions of FileMaker. Instead, just go to the Records menu and choose the Replace option, then continue with the rest of Ursus' instructions. Except we left out that the cursor should be inside the field that is going to be changed. |
)
#9
| |||
| |||
|
|
"Your Name" schreef in bericht news:ieesjb$up5$1 (AT) lust (DOT) ihug.co.nz... True, you do have to first click in the Field. I did think of that and then forgot to add it. D'oh! D'oh? like slap to head? |
)
)
#10
| |||
| |||
|
|
"Cerulean" <Spamming (AT) NOTallowed (DOT) com> wrote in message news:bqujg69jsekh7gqv1r3q992jo55ea91nvi (AT) 4ax (DOT) com... On Wed, 15 Dec 2010 19:37:02 +0100, <Ursus> wrote: "Cerulean" schreef in bericht news:9ljhg6l2hf4rr5mk1nbmieupt78ee24ju2 (AT) 4ax (DOT) com... I have a FMP6 db with over 2000 records. I didn't add an automatic unique field identifier so now that I need one for the first time, is there some way to have this new field automatically populated with numbers? I have it set to unique contents only, etc., and then will lock it out so users can't edit afterwards but it would be nice to have a way to get those numbers in without my having to manually number all 2000+ records. Is there a way? Thanks. DIt is the most easy if you haven't used the field for any relationships yet. Check. Put the field on a layout and make sure you can enter it when browsing Check. find all records Can you believe I got stuck already? I know how to SHOW all records, but find them? Is this possible in FMP6? I've gone through all the menu pulldowns and even tried via a script but nothing. Can you describe the process a bit more so that if it's a command from another version of FMP, I can see if I can figure out how to do it. Googling yielded no results either since it seems we always have to put something in the find field. Putting in *.* of course didn't work since it requires a number. "Find All" and "Show All" is the same thing. From memory FileMaker changed the wording at some stage. It simply means to make sure you have all the records you want to change in the current Found Set. key CTRL-= (on windows) I didn't know here what you meant after CTRL. Is it CTRL + -, THEN CTRL + = ? Neither yielded any discernible results, so not sure what this is supposed to do. Hold down the CTRL key and press the = key ... but the keyboard shortcut may have been changed in different versions of FileMaker. Instead, just go to the Records menu and choose the Replace option, then continue with the rest of Ursus' instructions. Helpful Harry ) |
D![]() |
| Thread Tools | |
| Display Modes | |
| |