PC Review


Reply
Thread Tools Rate Thread

custom list in field

 
 
Marco
Guest
Posts: n/a
 
      9th Oct 2006
I have a text field in a table and i need have a costum order.
Is it possible; with a query too?
ex
blue
orange
green
red
yellow
orange
red
blue
yellow
green

i need:
yellow
red
blue
green
orange
yellow
red
blue
green
orange

thx a lot



 
Reply With Quote
 
 
 
 
Van T. Dinh
Guest
Posts: n/a
 
      9th Oct 2006
Create an extra Field "SortNo" (Integer or Byte) in your Table and allocate
a number according to your sorting requirements.

In the Query simply sort the records / rows by the SortNo.

--
HTH
Van T. Dinh
MVP (Access)



"Marco" <marco.w-no-spam-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a text field in a table and i need have a costum order.
> Is it possible; with a query too?
> ex
> blue
> orange
> green
> red
> yellow
> orange
> red
> blue
> yellow
> green
>
> i need:
> yellow
> red
> blue
> green
> orange
> yellow
> red
> blue
> green
> orange
>
> thx a lot
>
>
>



 
Reply With Quote
 
Marco
Guest
Posts: n/a
 
      9th Oct 2006
How can I add the number ? I have 90000 records in table and now the name
are random.



"Van T. Dinh" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Create an extra Field "SortNo" (Integer or Byte) in your Table and

allocate
> a number according to your sorting requirements.
>
> In the Query simply sort the records / rows by the SortNo.
>
> --
> HTH
> Van T. Dinh
> MVP (Access)
>
>
>
> "Marco" <marco.w-no-spam-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >I have a text field in a table and i need have a costum order.
> > Is it possible; with a query too?
> > ex
> > blue
> > orange
> > green
> > red
> > yellow
> > orange
> > red
> > blue
> > yellow
> > green
> >
> > i need:
> > yellow
> > red
> > blue
> > green
> > orange
> > yellow
> > red
> > blue
> > green
> > orange
> >
> > thx a lot
> >
> >
> >

>
>



 
Reply With Quote
 
Van T. Dinh
Guest
Posts: n/a
 
      9th Oct 2006
I am not sure of your sorting algorithm now ...

Define them in words and them give more representative sample of actual data
....

--
HTH
Van T. Dinh
MVP (Access)



"Marco" <marco.w no spam @email.it> wrote in message
news:(E-Mail Removed)...
> How can I add the number ? I have 90000 records in table and now the name
> are random.
>



 
Reply With Quote
 
Marco
Guest
Posts: n/a
 
      9th Oct 2006

"Van T. Dinh" wrote
>I am not sure of your sorting algorithm now ...
>
> Define them in words and them give more representative sample of actual
> data ...
>
> --
> HTH
> Van T. Dinh
> MVP (Access)
>

My table is
ID, datefield, textfield, (field1, field2, fiel3) number
textfield are colors, they are 11
I desire to have-see the color in a precise order like a list.
Now i can order by date but the colors aren't always in same order.
I need to define a "range " = colors and to repeat it for all the records of
the table .


 
Reply With Quote
 
Van T. Dinh
Guest
Posts: n/a
 
      10th Oct 2006
Sorry, I can't think of any way Access can do this type of sorting ...

OTOH, you may have to think of cases where you don't have equal number of
records for each colour, e.g. 80K records have Yellow and random numbers for
other colours ...

--
HTH
Van T. Dinh
MVP (Access)



"Marco" <marco.w-no-spam-(E-Mail Removed)> wrote in message
news:Oa%23Ypp%(E-Mail Removed)...
>
> My table is
> ID, datefield, textfield, (field1, field2, fiel3) number
> textfield are colors, they are 11
> I desire to have-see the color in a precise order like a list.
> Now i can order by date but the colors aren't always in same order.
> I need to define a "range " = colors and to repeat it for all the records
> of the table .
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Creating a custom field list Albert D. Kallal Microsoft Access Form Coding 0 8th Dec 2006 09:25 PM
Re: Creating a custom field list fredg Microsoft Access Form Coding 0 8th Dec 2006 06:56 PM
Add custom field to Map custom field list =?Utf-8?B?cnRpbnRuZXI=?= Microsoft Outlook Discussion 1 6th Jul 2005 02:08 PM
Custom List Field =?Utf-8?B?U2NobWlkdG5pa292?= Microsoft Outlook Form Programming 2 9th May 2005 08:17 PM
Custom Task List Field Matthew Hood Microsoft Outlook 1 11th Jan 2005 08:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:26 PM.