Computers & Internet Logo

Related Topics:

Posted on Feb 04, 2009

Sorting string and numeric

Focus on the user if the user want to sort for string or numeric

1 Answer

Maha Pappan

Level 1:

An expert who has achieved level 1.

Governor:

An expert whose answer got voted for 20 times.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

  • Contributor 9 Answers
  • Posted on Feb 05, 2009
Maha Pappan
Contributor
Level 1:

An expert who has achieved level 1.

Governor:

An expert whose answer got voted for 20 times.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

Joined: Jan 16, 2009
Answers
9
Questions
0
Helped
41486
Points
84

One simple way to achieve this is using radio button function. Give the user flexibility to change sorting via String or Numeric. As the user clicks on String the result bottom of this option will change the sorting method using String. Otherwise, Numeric.

By the way, please be specific in posting your question. Include the development tools that you use. For example, MS Access 2003.

Regards,
Maha

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

Roman numerals

Book indexing systems likely require such capabilities. That subject is in the realm of Nancy C. Mulvany (writer of 2005's Indexing Books); but good luck on getting a reply from such lofty heights.

Here is a page referring to how to sort Roman Numerals in Word tables: http://en.community.dell.com/support-forums/software-os/f/3526/t/17598900

Here is some code for sorting Roman numerals: http://stackoverflow.com/questions/6507536/how-to-sort-an-array-of-roman-numerals

Similarly, here is a discussion of use of vlookup: http://www.pcreview.co.uk/forums/sorting-data-using-roman-numerals-t2104212.html and also in the following Excel forum:

http://www.excelforum.com/excel-general/397231-sorting-data-using-roman-numerals.html

I doubt you want to use this online alphabetizer which can handle Roman numerals: http://alphabetizer.flap.tv/

Maybe I have misunderstood the question and you are wondering about something else besides sorting. But here is a link regarding some sql server sorting: http://sql.software.informer.com/download-sql-server-sort-roman-numerals/
Jan 21, 2015 • Games
0helpful
1answer

Want to change the password.

The best password solution is the one that passes the list of guessing/ hacking possibilites. I think you are looking for such a password. Then please choose: -a numeric symbol from the latin alphabet -a muber 0-9 -special symbols: like @, #, *, &, are mostly accepted. Use a random combination of at least 16 of these, equally divided (16 is a sort of standard string I learned). Example: a@N%s?HK90$#2M4$ Even the most trained "hacker" will spend 49710 days looking for this password. Hope this is helpful, Regards, Robert/ P.S. Needless to mention to store passwords in a safe place..
4helpful
3answers

A java code for anagram

import java.io.IOException;

public class AnagramApp {
static int size;

static int count;

static char[] charArray;

public static void main(String[] args) throws IOException {
String input = "Java Source and Support";
size = input.length();
count = 0;
charArray = new char[size];
for (int j = 0; j < size; j++)
charArray[j] = input.charAt(j);
doAnagram(size);
}

public static void doAnagram(int newSize) {
int limit;
if (newSize == 1) // if too small, return;
return;
// for each position,
for (int i = 0; i < newSize; i++) {
doAnagram(newSize - 1); // anagram remaining
if (newSize == 2) // if innermost,
display();
rotate(newSize); // rotate word
}
}

// rotate left all chars from position to end
public static void rotate(int newSize) {
int i;
int position = size - newSize;
// save first letter
char temp = charArray[position];
//shift others left
for (i = position + 1; i < size; i++)
charArray[i - 1] = charArray[i];
//put first on right
charArray[i - 1] = temp;
}

public static void display() {
System.out.print(++count + " ");
for (int i = 0; i < size; i++)
System.out.print(charArray[i]);
System.out.println();
}
}
9helpful
1answer

How to set time/date on ge 25942ee3c telephone/answering machine

Download its user guide from this location, and search for string 'Voice Time/Day Stamp' there.
Hope you are able to sort your problems out.
Cheers! Carlos
0helpful
1answer

Is there a website where I can download user manuals for Ford Focus, radio, ect.?

There isnt a specific website but if you search the make and model of the stereo on google there will be a forum with that sort of info on.

Cheers,

Toon.
0helpful
2answers

Sorting a single column with both first name and last name

are you using mssql then it must be something like this

Select firstname + ' ' + 'lastname' as 'name' from tablename order by lastname
1helpful
1answer

Vb projects

One of the assignments given for a masters
was to provide an input box for english postcodes (zip fer other places) that would filter out ANY invalid input in as few lines as possible.

With entirely numeric that is simple as it is just a string length
but some countries use alpha numeric and the letters have to be in the correct places eg. wf15 9lf or WF15 9LF or W15 would all be valid but W15 9LF would not..

Again minimal code would show an attention to detail because anyone can write a 100 lines of code to do that try get it in 15 or much less and it becomes more impressive


Specific alpha numeric data input and format sorting always seems to go down well with professors.

I havent given you everything to write the abstract bu the bare bones are there and it gives you an idea of the types of thing looked for.

After all if I gave you the whole thing it would not have been your work.
0helpful
1answer

Hi there i have a auto focus problem. i used mt 50D for the first time on saturday, after about 100 shots Err99 appeared, i turned the camera off and took the battery out an the error message never occured...

The camera is having problems with your lens and this is why it goues into the error mode. Try first cleaning the interface contacts on the lens ( see enclosed pic ) . If this does not sort the problem out then the auto focus motor ( or related hardware ) inside the lens will need attention. Also try other lenses to see whether it is only the lens ( I very seldom see this sort of problem cause by the body ; it is always the lens that gives this sort of trouble )db49ae2.jpg
0helpful
1answer

Sorting string

If you are using windows XP, click the start button. Choose 'Run' , type : cmd
and press enter to open a dos command window. Inside the dos command window, type the command: sort
then press enter.
enter some names and press enter after each name like:
john
terry
bill
howard
arthur
gary
fred
^Z
Press control and z at the same time when you are finished and press enter. The names will be output in order

(In windows vista, just enter the command cmd in the search start and press enter)


To output the names to a file, type
sort > filename.txt
press enter and then do the same as above. The names will be in a file called filename.txt
Not finding what you are looking for?

173 views

Ask a Question

Usually answered in minutes!

Top Intelligent Computer Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you an Intelligent Computer Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...