Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

sort question

Discussion in 'Information Technology' started by surya, Nov 12, 2005.

Tags:
  1. surya

    surya
    Expand Collapse
    Guest

    Hi (newbie question)
    Is there a simple way to fool a field into sorting the way I want, example:

    13
    13-SE-C
    14
    341
    963

    (The 13-SE-C is going to the bottom)


    --
    Cheers
     
  2. Loading...

    Similar Threads Forum Date
    I am sort of new to Sikhism New to Sikhism May 3, 2013
    Consortium agrees to pay 11.3 billion dollars for SunGard Data Systems (AFP) Interfaith Dialogues Mar 28, 2005
    Question About GGS Questions and Answers Aug 28, 2016
    Marriage And Discrimination Related Questions Blogs Mar 21, 2016
    Sikhi Questioning Faith Sikh Sikhi Sikhism Mar 3, 2016

  3. Arvin Meyer [MVP]

    Arvin Meyer [MVP]
    Expand Collapse
    Guest

    You will need to either add a sort column with either text or numeric
    content, or you can write some sorting code. You can also use code in a
    column to grab the numeric beginning like:

    Expr1: Val([YourField])

    It will return a 0 if the field starts with any letter though.
    --
    Arvin Meyer, MCP, MVP
    Microsoft Access
    Free Access downloads
    http://www.datastrat.com
    http://www.mvps.org/access

    "surya" <surya@discussions.microsoft.com> wrote in message
    news:D76A8FA7-4C23-47B3-9F25-C0B168825355@microsoft.com...
    > Hi (newbie question)
    > Is there a simple way to fool a field into sorting the way I want,

    example:
    >
    > 13
    > 13-SE-C
    > 14
    > 341
    > 963
    >
    > (The 13-SE-C is going to the bottom)
    >
    >
    > --
    > Cheers
     
  4. surya

    surya
    Expand Collapse
    Guest

    Thank you, I appreciate the help.
    --
    Cheers


    "Arvin Meyer [MVP]" wrote:

    > You will need to either add a sort column with either text or numeric
    > content, or you can write some sorting code. You can also use code in a
    > column to grab the numeric beginning like:
    >
    > Expr1: Val([YourField])
    >
    > It will return a 0 if the field starts with any letter though.
    > --
    > Arvin Meyer, MCP, MVP
    > Microsoft Access
    > Free Access downloads
    > http://www.datastrat.com
    > http://www.mvps.org/access
    >
    > "surya" <surya@discussions.microsoft.com> wrote in message
    > news:D76A8FA7-4C23-47B3-9F25-C0B168825355@microsoft.com...
    > > Hi (newbie question)
    > > Is there a simple way to fool a field into sorting the way I want,

    > example:
    > >
    > > 13
    > > 13-SE-C
    > > 14
    > > 341
    > > 963
    > >
    > > (The 13-SE-C is going to the bottom)
    > >
    > >
    > > --
    > > Cheers

    >
    >
    >
     

Share This Page