Click here to Skip to main content
15,896,359 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Question In vb.net Pin
albCode28-Mar-06 22:12
albCode28-Mar-06 22:12 
Questiondatareader problem Pin
thepityone28-Mar-06 20:45
thepityone28-Mar-06 20:45 
Questionsound recognition Pin
susee_132328-Mar-06 20:44
susee_132328-Mar-06 20:44 
QuestionScanner Activation Pin
Thoombath28-Mar-06 20:17
Thoombath28-Mar-06 20:17 
QuestionRetrieving value from Subitem of Listview Pin
wilde28-Mar-06 20:12
wilde28-Mar-06 20:12 
AnswerRe: Retrieving value from Subitem of Listview Pin
alien viper28-Mar-06 20:33
alien viper28-Mar-06 20:33 
QuestionComparing strings with variable lengths/misspells/... Pin
mayhem_rules28-Mar-06 18:59
mayhem_rules28-Mar-06 18:59 
AnswerRe: Comparing strings with variable lengths/misspells/... Pin
dptalt29-Mar-06 2:33
dptalt29-Mar-06 2:33 
If I understand your question correctly you want to group the same name records together even if the spelling of the name is different and then find the highest salary record from that group.

First convert the name field to lower case. Then you will have to define a set of characters the can be savely removed from the name field. In that set you could include dash (-), quote ('), and space ( ). For each name remove those characters. This will attempt to convert similiar names to the same name. The way to find the highest salary kind of depends on how the data is stored. If it is in a datatable you can query records returning the highest value in the salary field. Or sort the records by salary in desc order putting the highest value in row 0. Or you can process the records one by one in a for next loop to find the highest salary.

I hope this helps!
QuestionUnicode supported characters in filenames Pin
sp_ranjan28-Mar-06 18:48
sp_ranjan28-Mar-06 18:48 
QuestionRichtextbox.Line property Pin
wilde28-Mar-06 18:06
wilde28-Mar-06 18:06 
AnswerRe: Richtextbox.Line property Pin
Joshua Quick28-Mar-06 19:28
Joshua Quick28-Mar-06 19:28 
Questionvb.net 2005 school assignment Pin
vb2005.net@hotmail.com28-Mar-06 16:40
vb2005.net@hotmail.com28-Mar-06 16:40 
AnswerRe: vb.net 2005 school assignment Pin
Chatura Dilan28-Mar-06 17:23
Chatura Dilan28-Mar-06 17:23 
AnswerRe: vb.net 2005 school assignment Pin
Dave Kreskowiak29-Mar-06 1:14
mveDave Kreskowiak29-Mar-06 1:14 
Questionadding new line in Ricgtextbox Pin
wilde28-Mar-06 14:49
wilde28-Mar-06 14:49 
AnswerRe: adding new line in Ricgtextbox Pin
merlynml28-Mar-06 16:23
merlynml28-Mar-06 16:23 
GeneralRe: adding new line in Richtextbox Pin
wilde28-Mar-06 16:40
wilde28-Mar-06 16:40 
QuestionPoor performance of VB.net HashTable Class Pin
jjbhey28-Mar-06 14:19
jjbhey28-Mar-06 14:19 
AnswerRe: Poor performance of VB.net HashTable Class Pin
Christian Graus28-Mar-06 14:50
protectorChristian Graus28-Mar-06 14:50 
GeneralRe: Poor performance of VB.net HashTable Class Pin
jjbhey28-Mar-06 17:52
jjbhey28-Mar-06 17:52 
GeneralRe: Poor performance of VB.net HashTable Class Pin
Joshua Quick28-Mar-06 19:19
Joshua Quick28-Mar-06 19:19 
Questionxml Pin
SVb.net28-Mar-06 13:19
SVb.net28-Mar-06 13:19 
AnswerRe: xml Pin
Christian Graus28-Mar-06 14:06
protectorChristian Graus28-Mar-06 14:06 
Questioncrystat report.net Pin
SVb.net28-Mar-06 11:15
SVb.net28-Mar-06 11:15 
QuestionOpen File Dialog Pin
ADY00728-Mar-06 8:28
ADY00728-Mar-06 8:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.