Renaming "Sequence" restart after last number used?

I'm fairly sure that when you rename files in Bridge using a sequence of numbers, it remembers what the last one used was. When you next open the dialogue box, it pre-populates the text entry box with the number following the last one used.
This doesn't happen in Lightroom - if I want to carry on from where I left off last time then I have to shut the dialogue box again, go to the last folder of images I renamed, find the last number, go back to the original folder, re-open the rename box and then type in the last number+1! It was a real time-saver to have this feature in Bridge; it would be great to have it in LR too.

746379 wrote:
Hi,
I have a sequence and i am using that in a procedure to insert records.Often the procedure throws error like primary key violated.
When i checked the last number used by the sequence it gave me as 27331 and the currval of the sequence as 27312.
Please advice us to rectify this.First make sure that you understand the difference between a primary key and a sequence.
A sequence is just a number generator. Oracle guarantees that the sequence will give you a new unique number each time that you call NEXTVAL. If the sequence is cycling then it can even generate the same number again after some time but this is rarely the case.
A primary key is a constaint on your table that requires all values in the column to be unique and not null.
When you get an primary key violated error then you just tried to insert a value that was already there in the table.
Some scenarios might be the reason for this.
<li>You insert a row using the sequence. You insert a new row using the same number again without fetching it from NEXTVAL (e.g. using currval instead of nextval, or not updating a variable that holds the new ID,...)</li>
<li>Somebody else already inserted an ID without using the sequence</li>
<li>A variation is when you import data from another database and resetted the sequences</li>
<li>There is some test data in your tables. The test data was inserted in a high ID range to separate it from the real data. Your sequence just reached this range.</li>

Similar Messages

  • Auto-numbering sequence from last number used

    Is there a way to set the Filename Template Editor and the Text Template Editor to automatically start numbering a batch of images from the latest number used?
    At present in Editor, one has to set the Start Number manually. I am using this feature on photos that were imported into LR long ago and am now getting around to editing, processing, cataloguing them. Part of that process for me is renaming them, giving each a custom+sequence Filename, for example "DDOH-3256".
    The way the text editor is set up now, I have to remember what I was working on most recently, find it, check what the last sequence number was in that batch, then set the next available sequence number in the Text Template Editor.
    I used to use IView Media Pro and it had a lot more naming and re-naming conventions, including. It would be great if LR had the same options.
    Thanks for any help or feedback,
    Esther
    Lightroom v1.4.1
    Mac OS 10.5.2 Leopard
    iMac 20" monitor
    2.4 GHz Intel Core 2 Duo
    2 GB DDR2 SDRAM

    746379 wrote:
    Hi,
    I have a sequence and i am using that in a procedure to insert records.Often the procedure throws error like primary key violated.
    When i checked the last number used by the sequence it gave me as 27331 and the currval of the sequence as 27312.
    Please advice us to rectify this.First make sure that you understand the difference between a primary key and a sequence.
    A sequence is just a number generator. Oracle guarantees that the sequence will give you a new unique number each time that you call NEXTVAL. If the sequence is cycling then it can even generate the same number again after some time but this is rarely the case.
    A primary key is a constaint on your table that requires all values in the column to be unique and not null.
    When you get an primary key violated error then you just tried to insert a value that was already there in the table.
    Some scenarios might be the reason for this.
    <li>You insert a row using the sequence. You insert a new row using the same number again without fetching it from NEXTVAL (e.g. using currval instead of nextval, or not updating a variable that holds the new ID,...)</li>
    <li>Somebody else already inserted an ID without using the sequence</li>
    <li>A variation is when you import data from another database and resetted the sequences</li>
    <li>There is some test data in your tables. The test data was inserted in a high ID range to separate it from the real data. Your sequence just reached this range.</li>

  • Timeline/Sequence missing after last update

    Hi,
    I just have my Premiere Pro CC updated to latest version couple hours ago. After updated, when I tried to
    go back to the project I've been working on for the past few weeks, I couldn't find some of the timeline/sequences
    after I opened the project. I keep backups every few hours so tried to open earlier backups but those sequences are just missing as
    they have never existed ! This is really scary because all my efforts for the past few weeks are gone. As I am on a Mac,
    I tried to use Time Machine to go back to ex-version and found all my timeline/sequence are still there in my
    project. I wonder if this is a bug in the latest version, I guess I will stay at ex-version for a while anyway.
    Mack

    Hi.  I have just started using Premiere Pro CC and have experienced this exact same issue.  I was continually saving the project after spending quite some working on it.  When I closed the project and went back into it the next day, the timeline sequence was completely missing.  Can you confirm if this is now a known issue and is there any way I can get my work back?

  • Sequence Last Number doesn't match with currval

    Hi,
    I have a sequence and i am using that in a procedure to insert records.Often the procedure throws error like primary key violated.
    When i checked the last number used by the sequence it gave me as 27331 and the currval of the sequence as 27312.
    Please advice us to rectify this.

    746379 wrote:
    Hi,
    I have a sequence and i am using that in a procedure to insert records.Often the procedure throws error like primary key violated.
    When i checked the last number used by the sequence it gave me as 27331 and the currval of the sequence as 27312.
    Please advice us to rectify this.First make sure that you understand the difference between a primary key and a sequence.
    A sequence is just a number generator. Oracle guarantees that the sequence will give you a new unique number each time that you call NEXTVAL. If the sequence is cycling then it can even generate the same number again after some time but this is rarely the case.
    A primary key is a constaint on your table that requires all values in the column to be unique and not null.
    When you get an primary key violated error then you just tried to insert a value that was already there in the table.
    Some scenarios might be the reason for this.
    <li>You insert a row using the sequence. You insert a new row using the same number again without fetching it from NEXTVAL (e.g. using currval instead of nextval, or not updating a variable that holds the new ID,...)</li>
    <li>Somebody else already inserted an ID without using the sequence</li>
    <li>A variation is when you import data from another database and resetted the sequences</li>
    <li>There is some test data in your tables. The test data was inserted in a high ID range to separate it from the real data. Your sequence just reached this range.</li>

  • Sometimes when connecting to sync, my phone dials last number

    when connecting to sync, my phone will dial the last number used. not butt dialing. keypad is locked and in a case.

    If you check this support document, http://support.apple.com/kb/TS1538 it might help as to why the phone keeps disconnecting. Has it been showing in iTunes?

  • Last Devices Used in the navigator of 6110

    Hi Enyone
    i have a Nokia 6110 navigator and when i start the navigator it pops up whit LAST DEVICES USED where i have some i want to delete. But i can not find out how to do it.
    Can enybody help me

    >
    Prem Karthick wrote:
    > Dear All,
    >
    > I have created a Number range in SNRO and I have used it in many programs to generate number.
    > Now I need to find out and use the Last number used (or Current number) in that Number range object in one of my program.
    >
    > Is there any standard Function module or Table to find out the Last number used in the Number Range?
    >
    > Can anyone let me know the solution for this?
    Please search the forum for the FM 'NUMBER_GET_NEXT'
    Regards
    Rajesh

  • File renaming: unwanted suffix after sequence number

    Hi all,
    I am encountering some issues when renaming my files to sequence them.
    My renaming template is: Custom Text_Sequence Number (3 digits)
    Let's say my Custom Text is "20100702_LR", Lightroom shows me that the file name should be "20100702_LR_001.nef" and so on.
    However, for some reason, sometimes Lightroom randomly assigns "-1" after the file name, such as "201007_LR_002-1.nef".
    It doesn't seem to follow any rule. Sometimes that unwanted "-1" suffix is appended to the file name, sometimes it isn't.
    Has this happened to anyone before? Is there an explanation and a solution to this problem?
    Thank you in advance for your precious help.

    no conflict but a bug. It happens (in my case and some others reported it also, do a search on this forum) if you renamed during import, deleted some files after import in a selection proces and renamed/renumbered again with the same text/preset etc. It worked normal in LR2.x now it doesn't anymore.
    Workaround: rename to some bogus name and rename again with the preset name you it want it to have.

  • My iMac wont restart after my last update alumni keyboard

    Please help, I am using my MacBook for this, my iMac will not restart after installing the last update, alumni keyboard....., after restarting, pushing the start button, all i see for hours, is the apple logo with the little circle spinning under the logo, please help, i already, disconnected, unplugged everything, used my original keyboard and mouse instead of my bluetooth, but nothing works, even ,power on while pushing option button etc. Anyone else know of this problem.Thanks in advance!

    The long tone is an indication that a firmware update is installing. Do you get a progress bar at the bottom of you screen after letting the power button go?
    Have you reset the PRAM? (cmdalt+PR when you restart the machine)
    Also repair permissions when the machine is up and running.

  • Use the last number in a column

    Don't use spread sheets much and wondered if anybody could help with this problem. I am monitoring my weight and each day put the new weight value in the next cell. ie
    201
    198
    197
    I have another cell in the sheet which contains my target weight from which I want to subtract the latest weight record this of course moves to the next cell down each day. Is there a formula to pick the last number in a column of data? ie in the above example takes 198 on day 2 but 197 on day 3.
    Thanks
    Jonathan

    Ok. The formula didn't have to be that fancy after all. We can use COUNT to count the number of entries, then use INDEX to return the corresponding entry.
    If the actual weights are in column B and goal weight in E2, then in D2 enter this formula:
    =E2-INDEX(B,COUNT(B),1)
    So, a couple caveats:
    1) Must start entering the weights in the top body cell (whether table has header or not, see below).
    2) Column B cannot have any extraneous numbers (this will throw the count of entries off).
    Free Image Hosting
    If you are actually using Numbers '09 and the table has headers, then for some reason the formula is slightly different depending on how many header cells are in column B. E.g. if one header, then enter =INDEX(B,COUNT(B)+1,1); if two headers, then enter =INDEX(B,COUNT(B)+2,1); Or, simply enter =INDEX(B,COUNT(B)+ROW(B)-1,1), which adjusts to whatever number of header cells.
    Robin
    Message was edited by: sharknca

  • I just got a new MacBook Pro, and I tried to bring across my files from my last mac using time machine. After it was done copying I can't find my files anywhere but the space (about 130gb) has been used on my hard drive. Help please!!

    I just got a new MacBook Pro, and I tried to bring across my files from my last mac using time machine. After it was done copying I can't find my files anywhere but the space (about 130gb) has been used on my hard drive. Does anyone know how I can get to them? I did change my user name from 'user' while it was copying, could this have something to do with it?

    You don't want to do that by copying.
    Your best bet, by far, is to use Setup Assistant.  If your Mac is running Snow Leopard, see Using Setup Assistant on Snow Leopard or Leopard.
    If it came with Lion, it's a bit different: Using Setup Assistant on Lion

  • Bridge CS4 Won't Reopen the last folder used after reboot . . .

    When I restart Win XP (32 bit) and open Bridge CS4 it opens to a specific folder (the same one every time) but NOT the last one used. My Workspaces also seem to be forgotten. Is there a way to specify the folder that you want Bridge to open?
    Any thoughts?
    Thanks,
    Bob

    Are you closing Bridge properly (waiting until all processing has finished) before shutting Windows down?

  • I just purchased my Macbook Pro retina display OS X 10.7.4 in June 2012. Shortly after I began using it, it began randomly restarting itself while in use. Why and how do I fix this?

    So as I said in the title, I purchased my new Macbook Pro retina display OS X 10.7.4 in June 2012 and recieved in early July. Shortly after I started using the laptop, it began randomly restarting itself. It does this about once a week while I am just using the laptop for normal internet browsing. I haven't downloaded any outside software that the system could be rejecting and it is fully charged. Any ideas on why this is happening or how to fix it?
    Also this is a total random question, but there is a residue on my laptop that is faint but randomly shows up. I'm almost positive that it is nothing on my hands or where I place the laptop. I wasn't sure if it was something possibly coming from the side vents. Thanks for the help!

    Exactly what Shootist007 states - take it in for service or replacement - could be a simple software issue or it could be a hardware issue...
    Don't even bother messing with it.....Might screw up even more.....
    Make sure your files are backed up in case they give you a replacement....
    Good luck - hope you get it sorted out...

  • After downloading mountain lion the internet does not start automatically after start or restart but if I use diagnostics it starts is there a simpler solution

    After downloading mountain lion the internet does not start automatically after start or restart but if I use diagnostics it starts is there a simpler solution?

    Extensions can sometimes be the cause of problems. If the problem does not occur in Safe Mode, then you can disable your extensions one-by-one until you find out which one is causing the problem. See [[Troubleshooting extensions and themes]]

  • Can rs.last() be used after calling the stored procedure?

    Can rs.last() be used after calling the stored procedure? If yes what should be the CURSOR types?

    Can rs.last() be used after calling the stored
    procedure? If yes what should be the CURSOR types?That would depend on the driver/database.
    And as I said in your other post it is far more efficient to count records by just returning a count rather than a complete collection regardless of how you get to the end.

  • USING WEBUTIL TO READ TEXT FILE INTO TABLE HANGS AFTER CERTAIN NUMBER OF RE

    Dear
    when we use webutil to retrieve data from text file into database table
    (using text_io) it hangs after certain number of records ( approx. 1300
    records) while the total number of records to be inserted in the table exceeds
    12000 records while it works properly on forms6i with the normal text_io any
    help please...?
    thanks and regards

    WebUtil uploads the files as Binary - so yes you could have some issues if you have a Unix host - however, that would only mean that there is an extra character to trim off of the end of the line read by Text_io.

Maybe you are looking for

  • Programming JSP using JDeveloper 10.1.3 and JSTL

    Hello, I new in JDeveloper. I am creating a web proyect and I am programming a JSP. This JSP includes JSTL 1.1 Core, exactly the next line: <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> When I compile my proyect, obtain the next err

  • Add member to dimension in the outline

    <p> </p><p>I found a problam when i update a dimension using script MaxL and excecute in essmsh</p><p> </p><p>I Wrote script as follow :</p><p> </p><p>spool on to 'c:\hyperion\log.txt';<br><br>login $1 $2 ;<br><br>alter system load application 'Bank'

  • RFC u0096 XI u0096 RFC

    Hi I like to setup a easy scenario synchronize to data sets in to different SAP systems. As example I use the currency bapi. I like to update the currency list in system B when I changed something in system A. But what is the common solution to make

  • Export settings for full HD

    Hi Guys. I've edited my AVCHD video shot with Panasonic TM300 at full quality 1920 resolution. I used the AIC1920x1080i50 Easy setup to transfer. Now I want to export in full HD to my Playstation 3. What settings do I use? I assume I have to use Quic

  • Create Workspace without demo-application and tables

    Is it possible to crate a new workspace on a existing schema without creating new tables and demo-applications? Thanks Mario