Auto numbering Column id and filter this lookup id in another list based on status="active"

Hi,
I am trying to autonumbeirng the column id with default column ID. But it is not reset if i delete the list item. Also i want this id in another column which have status="Active". How i will do this?
Thanks in Advance.
Roopesh

Hi,
According to your description, my understanding is that you want to reset the column ID when you delete the list item and then you want to filter the id in another list based on status.
For resetting column id, there is no direct way to achieve it. I suggest you can save the list as a template and recreate the list. ID columns will always keep incrementing and will never be reused.
Here is a similar thread about reset column ID for your reference:
https://social.technet.microsoft.com/Forums/sharepoint/en-US/848a3d73-6273-45fa-806f-96312a4d71d1/is-there-anyway-to-reset-the-default-id-number-that-sharepoint-gives-to-an-item-back-to-1?forum=sharepointgeneralprevious
For filtering look up field, here are some detailed demos for your reference:
http://filteredlookup.codeplex.com/
https://social.technet.microsoft.com/Forums/en-US/d23d6e9b-dc7b-4741-8746-dd4bf00b8110/how-to-filter-lookup-column-in-sharepoint-2010
v
Thanks
Best Regards
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jerry Guo
TechNet Community Support

Similar Messages

  • Best practice to code Lookup Field to another list

    Hello All,
    Wanted to check what is the best way to create lookup field to another list. I have seen blog posts to create using feature receiver and using declarative way, but not able to find out pros and cons for the same. Want this answer urgently.
    Rohit Pasrija

    Hi,
    Per my understanding, you might want to find a better way to create Lookup field.
    Though there are different ways to create Lookup field(declaratively or programmatically), there would be no much difference between them in performance or maintenance.
    If going in the declarative way, the whole definition of the field will be hardcoded, user simply need to deploy the solution, Lookup field to a specific list will be there.
    If creating the field programmatically, there would be great flexibility when provisioning a field as we will be able to specify the properties dynamically.
    Thus, you might need to make a choice depends on the scenario in the actual production environment.
    Thanks
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Hello- I would like to have new pages open in a separate tab automatically...(i.e., Google--- Google listing---click on listing-----auto open new tab and put the page of the google listing that I selected, on the new tab. Thanks. RMartinez

    Hello again-
    Here is my scenario-
    I am browsing, and let's say, I'm on Google. I look up "albatross novels." I get 6 hits. I look at the list, and I pick one of them. I double-click on it, and away we go. My current Google search page is REPLACED by the selected "albatross" site. But it's not exactly what I want. So now I click the BACK ARROW to go back to the Google page, to look at the other 'albatross" hits. And now I find another site, replacing my Google page when I open it......And THAT site takes me to another site, and another, and yet another......But then I realize that the first site WAS the best one. Now I have to hit the back button 15 times and probably NOT reach the Google page from which I started.
    But if I could have the new pages open in a new tab, then I could go back and forth between all the pages without worrying about the back button.
    I am sure that this is just a setting change somewhere, but I can't find it....I do have it on my work computer.
    Thanks/Rod Martinez

    When I open a link from a search it does open in a new tab ''(it is new, but it is at least in Firefox 4+)''<br>
    '''browser.search.openintab''' user set '''true'''
    '''More information on configuration variables''' available in
    [http://kb.mozillazine.org/About:config_entries about:config entries] and for users not familiar with the process there is [http://kb.mozillazine.org/About:config about:config] (How to change).
    You will find interesting reading on tabs in
    * '''Tabbed Browsing''' in Firefox<br>http://dmcritchie.mvps.org/firefox/tabs.htm
    * '''Tabs configuration''', extracted from About:config entries - MozillaZine Knowledge Base<br>http://dmcritchie.mvps.org/firefox/tabs_config.htm
    * 001 '''Tab Capacity Test'''<br>http://dmcritchie.mvps.org/firefox/tab_capacity/001_with_underscore.htm##
    * '''Tab Color Underscoring active/read/unread''' (Fx3.6) - Themes and Skins for Browser - userstyles.org<br>actually colors all borders not just an underline-- see picture in Tabs Bar Minimal Size<br>http://userstyles.org/styles/24728
    * '''Tabs, Enlarge list-all-tabs button''' - Themes and Skins for Browser - userstyles.org<br>http://userstyles.org/styles/18553
    * '''Tabs Bar Minimal Size''' - Themes and Skins for Browser - userstyles.org<br>http://userstyles.org/styles/9043
    From a Google search you should have the pages open in another tab, but with Google that is not quite good enough because they have them open all in the same new tab ''as you noticed so you've done that''.
    * Search and Substitution Shortcuts especially for Firefox users<br>http://dmcritchie.mvps.org/firefox/search.htm
    You can use '''Ctrl+click''' or '''Ctrl+Shift+click''' to open a link in a new tab.
    * Firefox and other Browser Keyboard Shortcuts (Comparison Table)<br>http://dmcritchie.mvps.org/firefox/keyboard.htm
    You can use '''app-tab''' to pin the tab, right-click on the tab and choose pin-tab and the opposite to unpin tab, or delete the tab when done.

  • How to auto populate data from one list in SharePoint 2007 into another list based on a key value?

    Hi,
    As a part of new requirement in my project I am supposd to work on SharePoint 2007. I have one List (BCExtract - Main list) with all data related to an Application (like ID, name, app manager RTO etc).
    I have created another list which has form to be filled by a user (with details about his/her applications). My requirement is that when the user enters AIT ID then the page should refresh (probably after hitting enter) and other details like Application
    name, RTO etc which is present in another list gets auto populated depending on the AIT ID (unique column) entered so reduce the burden on the user.
    Please suggest me how this can be done. I do not have permission for obtaining SharePoint Designer and I do not know JQuery. Infopath is ok but if this can be done through SharePoint 2007 alone then it would be great.
    Thanks....

    Hello,
    You can either use jquery/jaavscript or infopath form to achieve this. There is no default way to do this.
    I would suggest jquery because you can put script in newform/editfor.aspx page using content editor webpart. Refer this link for jquery:
    To get value from list:
    http://social.technet.microsoft.com/Forums/en-US/ac47fe2a-ccb6-4f5b-b274-703aecc6cb0a/get-list-items-in-sharepoint-2010-by-using-jquery
    http://www.robertkuzma.com/2010/08/read-list-items-using-sharepoint-web-services-and-jquery/
    To set value in column:
    http://paulgalvinsoldblog.wordpress.com/2009/06/13/quick-and-easy-use-jquery-to-set-a-text-field%E2%80%99s-value-on-a-sharepoint-form/
    http://spservices.codeplex.com/discussions/468729
    If you use infopath form, then you need to create two data connection to get data from both lists. Later you can set value in fields based on selection using rule. This can be possible without code.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Lookup Attachment from another list

    I am looking to have an attachment field linked to another list in InfoPath 2010.  How can I set up the data connection?  Thanks!
    David L. Crooks

    Hi David,
    According to your description, my understanding is that you want to use an attachment field linked to another list (like “Link from SharePoint”) in InfoPath form. Is it right?
    Per my knowledge, there is no OOB way to achieve it. I suggest you develop a custom control in InfoPath to do it.
    For developing customizations in InfoPath, I suggest you create a new thread on Visual Studio Tools for Office (VSTO) forum, more experts will assist you with Office development.
    VSTO forum:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=vsto&filter=alltypes&sort=relevancedesc&searchTerm=VS
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Lookup creation and using this lookup in SQL query

    I Have two tables one table called T_KEY_VALUES (KEY_ID , VALUE) and other is my transition table T_TRANSACTIONS (VERSION_ID , COL_VENDOR , COL_PREFIX, COL_RECIPTID , COL_STATE , COL_COUNTRY ..)
    The data looks like below:
    T_KEY_VALUES:
    KEY_ID , VALUE,
    10, CA
    11, NY
    13, NJ
    20, USA
    21, CANADA
    101 , AMC
    102, REGAL
    1001, MOVIES
    1002, MALLS
    T_TRANSACTIONS:
    VERSION_ID , COL_VENDOR , COL_PREFIX , COL_RECIPTID , COL_SATE , COL_COUNTRY
    1, 101 , 1001 , 100001 , 10 , 20
    2, 102 , 1002  , 100002 , 11 ,20
    Generally, COL_VENDOR, COL_PREFIX , COL_STATE , COL_COUTRY field values exist in the T_KEY_VALUES table.
    So How can I use T_KEY_VALUES as Lookup and write the one SQL query to get the data like below:
    1, AMC , MOVIES , 100001 , CA ,USA
    2, REGAL , MALLS , 100002 , NY , USA

    Hi,
    One way is to join t_transactions to 4 copies of t_key_values:
    SELECT  t.version_id
    ,       v.value           AS vendor
    ,       p.value           AS prefix
    ,       t.col_reciptid
    ,       s.value           AS state
    ,       c.value           AS country
    FROM    t_transactions  t
    JOIN    t_key_values    v  ON  v.key_id  = t.col_vendor
    JOIN    t_key_values    p  ON  p.key_id  = t.col_prefix
    JOIN    t_key_values    s  ON  s.key_id  = t.col_state     -- or col_sate
    JOIN    t_key_values    c  ON  c.key_id  = t.col_country
    If you'd care to post CREATE TABLE and INSERT statements for the sample data, then I could test this.
    The query above assumes all 4 coded columns in t_transactions have matching values in t_key_values, as they do in the sample data.  If that assumption is wrong, then use outer joins in some (or all) of the places where I used inner joins above.
    Another approach is to UNPIVOT t_transactions into 4 times as many rows, do a single join to t_key_values, and then PIVOT those results back to the original number of rows.

  • How do i set up auto numbering columns

    i am a former excel user and i used to do this certain command, but now that i use mac i dont know how to set up autonumbering automatically in a column....
    for example
    1
    2
    3
    4
    5
    ...... so on and so on, but my numbers start like in 31311, 31312, so on and so on...
    please help.
    thanks...
    "Sending out an S.O.S."....
    Sting.
    "message in a bottle"

    In cell A1 enter "31311", in cell A2 enter "31312" select A1 and A2, grab the little circle at the bottom-right of the selection and grad down to fill.
    If you want to fill on expanding the table I would do something like:
    A1=31311+row()-1
    then select A1 and fill down as described above

  • I keep getting exact duplicate songs in playlists and libraries, how can you filter this out when upgrading these lists, or sync to the same device again? And how to do it without going through each and every P'list or Library ?

    I have Windows XP-Pro SP3, the latest upgrades of Three media players, iTunes being the default player. I keep getting duplicates in playlists, libraries etc., of the same version of song. Everytime i make a change or renew my media to device or SYNC it wants to add duplicates to the computer disk, lists etc. Can you filter out same copies without having to edit each and every song, which in my case is quite large. For instance if you want to convert all mpeg, or mp4-a files to AAC you will end up with duplicates of each file type. Or you sync to an ipod, the library adds to itself---- including copies of songs already in it, if in a different file version.

    Your refer to:
    " if you want to convert all mpeg, or mp4-a files to AAC "
    This will always duplicate files within iTunes.  I need to ask why you're doing this conversion - all formats are compatible with iTunes, and conversion between mp3 and AAC will always involve some loss of quality.

  • Auto-increment column increase performance in this case ?

    hi.
    i have the following facts to construct a set of tables.
    1. A Lecturer has an ID, Name and Date Joined
    2. A Classroom has an ID, Number Of Students
    3. A Lecturer can Teach in Many Classes
    4. A Class Can be lectured by Many Lecturers
    5. Each Lecture Date should be Stored in the DB.
    considering those facts, the following schema can be derived
    Lecturer
    (Lecturer_ID (PK), Lecturer_name, Date_Joined)
    Classroom
    (Classroom_ID (PK), NumOfStudents)
    Class_Lectures
    (Classroom_ID, Lecturer_ID (Composte PK), LectureDate)
    this is the normal practice we do.
    but what if the 3rd Table is constructed as follows ?
    Class_Lectures
    (LectureSeriesID (Auto-Increment, PK), Classroom_ID, Lecturer_ID (Composte Unique Key), LectureDate)
    if the 3rd Table is created as above, will there be any performance differences ? will the performance improve or get reduced ? any advantages / disadvantages of having that structure ?
    please do advise my any further best practices as well.
    Thanks and Regards

    http://technet.oracle.com:89/ubb/Forum88/HTML/000944.html
    null

  • Date stripping flaw - Auto-detection of dates and 'today' 'this friday' etc

    I like the new feature that auto strips dates from emails and allows you to automatically jump to that point in iCal, however why does it not work based on the date of the email rather than the date of the operation? If an email says tomorrow and it arrived yesterday then why when you select `Show this Date in iCal' does it not highlight today? I don't want it to show me tomorrow for today, I want tomorrow for yesterday.
    In other words, you need to sort out your indexical term handling.
    Best,
    Possession

    Please can anyone give me any ideas as to why my runs
    from last Friday and today are recorded as having
    taken place on 1 Jan 00 and 6 Jan 00 respectively.
    Are you saying these were listed this way in your run history on the Nano? Or did you notice this only after you uploaded to Nike+?
    It makes a difference in trouble-shooting the problem.
    I don't know if this has any bearing, but these two
    runs were performed in the gym on a treadmill.
    Can't imagine how that could create a problem with the date.
    In the end I detelted all runs from Nike+ and my Ipod
    and I am going to start again,
    Schmunkee, have you actually done any more runs since this happened? If you follow the instructions in the thread I posted for you, you can see the date on each xml file and also see the dates contained in the xml files. Check them before you try to post them to Nike+.
    If this happens again, come back to forum. There are plenty of people here willing to help.

  • Event Receiver to create a List based on a custom template and on lookup field

    Hi
    I would like to have an Event Receiver who is firing by addItem in a list calls Seminarliste and is creating each time a new list based on three columns for add.Lists("Title of the list", "Description of the list", "Custom List
    Template")
    I have a Problem to get the LookupField Title and I am getting a Problem to create a list.
    If I debug the code the bold line creates an exception ;(
    The following code I have produced:
            public override void ItemAdding(SPItemEventProperties properties)
                base.ItemAdding(properties);
                SPWeb spCurrentSite = properties.OpenWeb();
                SPSite siteCollection = new SPSite("http://win-ue32d37ap2n");
                SPWeb web = siteCollection.OpenWeb();
                SPListCollection lists = web.Lists;
                String curListName = properties.ListTitle;
                if(curListName == "Seminarliste")
                    SPListItem curItem = properties.ListItem;
                    String curItemListName = properties.AfterProperties["Title"].ToString();
                    String curItemDescription = properties.AfterProperties["Beschreibung"].ToString();
                    // Lookup field with Option to Chose a template name
                    String curItemTemplate = properties.AfterProperties["Template"].ToString();
                    SPListTemplateCollection listTemplates = siteCollection.GetCustomListTemplates(web);
                    //Error by following line ...
    SPListTemplate myTemplate = listTemplates[curItemTemplate];
                    web.Lists.Add(curItemListName, curItemDescription, myTemplate);
    If somebody had a similar problem in the past and could advice it would be most appreciated ;-)
    Thanks in advance ;-)
    Kind regards Michael Damaschke

    If I understand correctly, the field you use to select the template name is a lookup field? If so, then the problem is the lookup field value is not the name of the template. It is an SPFieldLookupValue, which contains the ID and the string of the lookup.
    So you want to separate the template name, like this:
    if (item["LookupField"] !=
    null)
         string fieldValue = item["LookupField"].ToString();
         SPFieldLookupValue value =
    new SPFieldLookupValue(fieldValue);
         int lookupListItemID = value.LookupId;
         string lookupListValue = value.LookupValue;
    IF you look at the fieldValue above, you will see it is something like an integer, followed by delimiter ;# and then your template name. you can always just parse the string at the ;# as well if you were so inclined.

  • How to pass one lookup value to another lookups

    Hi All,
    I've two relational sources with a join condition,added lookup and kept join condition too.I've to pass this lookup value to another lookup.
    let me know how we can handle this in odi.
    Thanks

    If you don't use "expression in the SELECT clause" option, why don't you simply drag and drop your file datastores in your canvas and do a standard join?
    The result will be the same.
    See here for more details : Re: Lookup Vs Join

  • HT5824 I've been using numbers for iPad and I accidentally deleted a column. And the auto-save feature saved that and now I can't undo it. Does iCloud storage have backups of saved files from like 10 minutes ago? I have number

    I've been using numbers for iPad and I accidentally deleted a column. And the auto-save feature saved that and now I can't undo it. Does iCloud storage have backups of saved files from like 10 minutes ago? I have numbers synced to iCloud.
    I tried to undo it but the app crashed.
    I am hoping there's like a previously saved version of my file in iCloud somewhere. 

    No, iOS does not do short term incremental back ups to iCloud such as you get with Time Capsule.It backs up when you do soo manually, or if set properly, when the device is plugged in and connected to WiFi. It will not have saved your changes as of 10 minutes prior.

  • Ok, im new to numbers but i cant work this one out. In column A is an average of hours worked. I have 4 columns. A and B have different values. Column C is an average of hours worked. When column C is less then 8 i need column D to equal column a

    Ok, im new to numbers but i cant work this one out. I have 4 columns. A and B have different values. Column C is an average of hours worked. When column C is less then 8 i need column D to equal column A. When column C is equal or greater then 8 i need column D to equal the sum of A and B.

    Hi Lucas,
    Try this:
    Formula in D2 (and Fill Down) =IF(C2<8, A2,A2+B2)
    The IF function follows the logic of if, then, else.
    IF(this is true, then do this, else do that)
    If it is raining, then stay at home, else hold a picnic .
    Regards,
    Ian.

  • Where is the "sort and filter" in numbers?

    I am trying to sort rows using Numbers for iPad. I can sort an entire table by using the Sort function when you highlight a column. However, I am now trying to sort only certain rows, i.e. a sort within a sort, and this is proving ridiculously difficult. I've read this can be done by highlighting and choosing "sort and filter" from the toolbar. However, I don't see this toolbar nor the "sort and filter". Where is it? I see 4 icons in the upper left: info, picture, wrench, and arrows. I'm very frustrated as it seems this should be so easy to do in a spreadsheet application. I appreciate any help!

    The text pop-up menu you read about may have been the Add Filter pop-up menu in the Query HUD (Cmd-F). You can use it to add additional text search boxes to the HUD. You already have one by default in the upper right corner of the HUD.
    That's for searching.
    Again, if what you're trying to do is overlay text on an image, you can't really do that except as I described the previous reply.
    If what you're trying to do is enter text to an image's metadata, you do that in the Metadata Inspector (I).

Maybe you are looking for

  • Display data on ADF table using a VO binded to a message.properties file

    Hi, I want to display data in a JSPX page using ADF table which is based on a ViewObject. The attributes of the ViewObject should get it's value from a abc.properties file(static file).How can i achieve this. thanks in advance. regards, Himanshu.

  • Problem with controlling Annotations from Excel VBA

    Hi, I have a PDF document that has plenty of sticky notes attached to it. These sticky notes have been added by multiple authors on all pages of the document. I am trying to import the contents of these sticky notes, their author and the page number

  • Quandary time

    I have a quandary. I already have an 17" iMac Power PC G5 (3 years old) but have the opportunity to upgrade to either a 24" Intel iMac (top of the range) or the new 17" MacBook Pro. I like both but can only have one so do I keep the 17" iMac Power PC

  • Control tables in SD

    In the SD certification material , its said that various masters and control tables are used for processing the sales order .can any one explain me what is control table? Rgds Ramprasad

  • Adjusting highlights, midtones and shadows

    1.) When working with the Dodge tool or other similar tools in Photoshop that have options for selecting to work with midtones, does this mean that it will not lighten the light areas or the dark areas? 2.) And if shadows are selected will it only wo