How Software Gets Done  

Login

Custom Software Buyers
Request new bids
Search Coders
My Account
 
My Buyer 'To Do' List
 
My bid requests
  My escrow account
 
My General Info
Verification
 
Help for Buyers
Articles for Buyers
FAQ for Buyers
Latest News
 

Custom Software Coders

Newest open work
Browse all work
Search all work
My Account
 
My Coder 'To Do' List
 
My bids
 
My General Info
  My credit account
 
Help for Coders
Articles for Coders
FAQ for Coders
Latest News
 

Affiliates

My account
 
My pipeline
 
My credit account
 
Help for Affiliates
Latest News
 
Newest Open Bid Requests.
Free For All Site Submission System
By wadoti on May 20
Max Bid: $125


Flash intro and presentation
By uleddie on May 20
Max Bid: $50


Multi-Player Poker Software
By PokerPride on May 20
Max Bid: Open to fair suggestions


Access Outlook Express Address Book
By eisengrim on May 20
Max Bid: $250


Today's Menu
By kapar6 on May 20
Max Bid: Open to fair suggestions


Adding support for .tiff, photoshop and coreldraw ...
By bryano on May 20
Max Bid: Open to fair suggestions


Click here to put this ticker on your own site

Open Work Categories.
Database 
(146 open)
   Access 
(54 open)
   MySQL 
(76 open)
   Oracle 
(11 open)
   SQL Server 
(51 open)
   Other DB 
(24 open)
Documentation / Tech Writing 
(34 open)
Data Entry 
(18 open)
Game Development 
(18 open)
Graphics / Art / Music 
(60 open)
   Graphics 
(69 open)
     3d Animation 
(19 open)
   Art (Misc.) 
(22 open)
   Music 
(13 open)
   3d Modeling 
(11 open)
Language Specific 
(113 open)
   ASP 
(55 open)
   ASP .NET 
(7 open)
   C# 
(31 open)
   C++ / C 
(120 open)
   Cold Fusion 
(7 open)
   Delphi 
(30 open)
   Java 
(55 open)
   JSP 
(1 open)
   Perl 
(39 open)
   PHP 
(94 open)
   XML/XSL 
(23 open)
   Visual Basic 
(139 open)
   Visual Basic .Net 
(67 open)
   Other 
(58 open)
Misc 
(40 open)
   CAD 
(4 open)
MultiMedia 
(36 open)
Network 
(41 open)
   Network Design 
(12 open)
   Network Implementation 
(16 open)
Platforms 
(72 open)
   Windows 
(153 open)
     MS Exchange 
(2 open)
     MS Office 
(11 open)
     Other 
(10 open)
   Darwin 
(1 open)
   Internet Browser 
(45 open)
   Linux 
(54 open)
   UNIX 
(33 open)
   Hand Held/PDA Programming 
(15 open)
Requirements 
(11 open)
Security 
(34 open)
Testing / Quality Assurance 
(17 open)
Web 
(152 open)
   Page Design 
(77 open)
   Flash 
(56 open)
   Web Services 
(83 open)
   Web (Other) 
(90 open)
Training 
(17 open)
   Computer Based 
(16 open)
 
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

VB6 code to sort a list of items from a text box
Bid Request Id: 55344
Bookmark in my 'To Do' list
Posted by: infomed (37 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 14.81%
Posted: Mar 29, 2003
7:46:56 PM EDT
Bidding Closes: Apr 12, 2003
7:51:16 PM EDT
Viewed (by coders): 184 times
Phase:
100% of work was accepted by buyer. Coder account has been credited.
Max Accepted Bid: Bidding is closed
Project Type: Very Small Business Project: under $100 (USD)
Bidding Type: Open Auction
Categories: Visual Basic
Enter chat room for this bid request
(0 active users at May 20, 2003 7:36:37 PM EDT)

Description:
I have a list of codes in my database for this client that tells me the clients diagnoses. The list has all diagnoses this person has had and might be something like this:

250.9
777.5
780.2
778.4
401.9
454.3

Next, I have a textbox that some or all these codes may appear. Here is an example of the data in text1:


# SYNCOPE AND COLLAPSE (780.2): doing well. on aspirin. sugar getting controlled. Taking sugars and "has finally learned". Feeling watching diet correlates well with sugar values she has been getting.
# HYPERTENSION NOS (401.9): bp stable to day. Cont off ccb due to junctional breadycardia and syncope.
# Diabetes mellitus, II, with complications (250.9): seems to be controlled. She prefers not to change regimen at this time, and I concur. Had flu shot this year.



As you can see, only some of the codes in the text are in the list, and they do not necessarily appear in the same order.

What I need, is some simple code to allow me to figure out the order of codes as they appear in the textbox called txtASS. In other words, I want to be able to put:

780.2 into a new textbox called txtICD(0)
401.9 into txtICD(1)
250.9 INTO txtICD(2)

see the deliverables section for more details...

Deliverables:


and if there were more codes in the text, I would want to continue adding them (there is a max of 8 text boxes). In the end, I need my txtICD array to contain the codes IN THE ORDER IN WHICH THEY APPEAR IN THE TEXT BOX. I can get them listed, just not in the right order.

In otherwords, my current code searches for the code in parenthesis and sees if it matches the list. If it does, it needs to save the code. The trouble I'm having is sorting the data into the correct txtICD Array order.

This is what I've got so far...

'collect the diagnoses from the database for the client in question
Dim cnnProb As ADODB.Connection
Dim sqlDx As String
Dim rsProb As ADODB.Recordset
Dim IsPresent As Integer

sqlDx = "SELECT ListPROBLEM.ProblemName, listPROBLEM.ProblemICD From ListPROBLEM Where patientID= " & lblPatID & ""

Set cnnProb = New ADODB.Connection
cnnProb.ConnectionString = g_ADOstrCnn
cnnProb.Open

Set rsProb = GetRecordSet(cnnProb, sqlDx)

With rsProb
While Not rsProb.EOF 'loop through all of the records returned in data1
'look for the number and include it if present
If Not IsNull(!ProblemICD) Then
' txtselecteditem = !ProblemICD
IsPresent = InStr(txtAss, !ProblemICD)
If IsPresent > 0 Then 'add to problem text box and to hidden txticd array

txtICDsDiscussed = txtICDsDiscussed & !ProblemName & " (" & !ProblemICD & ")" & vbCrLf
txtICD(i) = !ProblemICD
i = i + 1 'to avoid writing over this box next time around
End If
End If
.MoveNext
Wend
End With
Set cnnProb = Nothing
Set rsProb = Nothing



I'm looking for a quick solution, well commented, and inexpensive. I only will consider a demo that shows this in action, since I've been burned a number of times wasting time on folks who tell me how good they are, then can't do the job right.

Thanks!





1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Complete ownership and distribution copyrights to all work purchased.



Platform:
windows


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
Paul Staplehurst
(1 ratings)
in Ash Grove, Missouri
United States
Bid id: 594,258
 
$4 (USD) Mar 29, 2003
11:12:29 PM EDT
 10
(Excellent)
   
Attached is a DEMO of the Sorting routine using the same example data you gave in the Bid. Its simple and can be adapted for any number of textboxes (not just 8)

You can enter your own data into the textbox in this demo and it will sort them as long as they are in the database, to prove its not just hard coded!

Its all finished, so if you care to accept the bid I can send you the fully documented source.
Attached File
 
 
 
 
  See 3 private reply(ies)
to/from Paul Staplehurst.
 

Paul Staplehurst
(1 ratings)
in Ash Grove, Missouri
United States
Bid id: 594,260
 
N/A Mar 29, 2003
11:13:09 PM EDT
 10
(Excellent)
   
Opps as a side note please put the Database into the 'C:\' Directory.
 




Quick Search
 

 Advanced Search
Newest Open Work
Latest News

 
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 

Rent A Coder Top Coders.


Anuj Gakhar
Rated a 9.98 on 92 jobs 
Securenext
Rated a 9.98 on 98 jobs 
Codman
Rated a 9.97 on 144 jobs 
Buddies
Rated a 9.82 on 76 jobs 
Andrei Remenchuk
Rated a 10 on 12 jobs 
Michael Sharp
Rated a 9.98 on 177 jobs 
RNA
Rated a 9.92 on 37 jobs 
markesh
Rated a 10 on 22 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
hernest
Rated a 10 on 109 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers
 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 


Affiliate Sites



Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.