How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
(See all)
Oscommerce Fix - Category/Subcat egory Titles
By sistervisiontec h on Sep 8
Max Bid: $50


SQL Query & Stored Procedure - Oracle
By jpmarno on Sep 8
Max Bid: $200


Oscommerce Contributions - Affiliate Software
By sistervisiontec h on Sep 8
Max Bid: $40


Custom web mail
By TheBestCoder on Sep 8
Max Bid: Open to fair suggestions


Link Java Games to MS SQL
By TheBestCoder on Sep 8
Max Bid: Open to fair suggestions


Online pharmacy script
By jnzsoftware on Sep 8
Max Bid: $500


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(186 open)
   Access 
(60 open)
   MySQL 
(114 open)
   Oracle 
(14 open)
   SQL Server 
(80 open)
   Other DB 
(23 open)
Documentation / Tech Writing 
(30 open)
   Language (Human) Translations 
(10 open)
Data Entry 
(32 open)
Game Development 
(20 open)
Graphics / Art / Music 
(64 open)
   Graphics 
(69 open)
     Adobe AfterEffects 
(12 open)
     Adobe Photoshop 
(32 open)
     Adobe Premiere 
(11 open)
     3d Animation 
(23 open)
   Art (Misc.) 
(17 open)
   Music 
(10 open)
   Photography 
(10 open)
   3d Modeling 
(14 open)
Language Specific 
(126 open)
   Assembly / Machine language 
(11 open)
   ASP 
(65 open)
   ASP .NET 
(70 open)
   C# 
(78 open)
   C++ / C 
(152 open)
   Carbon (Mac OS) 
(7 open)
   Cocoa / Obj-C 
(4 open)
   Cold Fusion 
(12 open)
   Delphi 
(57 open)
   Java 
(83 open)
   JSP 
(13 open)
   Perl 
(48 open)
   Python 
(5 open)
   PHP 
(116 open)
   XML/XSL 
(41 open)
   Visual Basic 
(178 open)
   Visual Basic .Net 
(121 open)
   Other 
(79 open)
Misc 
(38 open)
   Middleware 
(1 open)
   CAD 
(5 open)
MultiMedia 
(36 open)
   Video Editing 
(15 open)
Network 
(35 open)
   Network Design 
(6 open)
   Network Implementation 
(4 open)
Platforms 
(79 open)
   Windows 
(207 open)
     MS Exchange 
(7 open)
     MS Office 
(19 open)
     Other 
(9 open)
   Darwin 
(3 open)
   Embedded Systems 
(2 open)
   Hand Held/PDA Programming 
(13 open)
   Internet Browser 
(58 open)
   Linux 
(53 open)
   Lotus Notes / Domino 
(2 open)
   UNIX 
(26 open)
Requirements 
(15 open)
Security 
(31 open)
Testing / Quality Assurance 
(22 open)
Web 
(202 open)
   Page Design 
(94 open)
   Flash 
(51 open)
   Marketing 
(2 open)
   Web Services 
(91 open)
   Web (Other) 
(98 open)
Training 
(11 open)
   Computer Based 
(11 open)
Other
 
Other Sites

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

VB6 code to set up an Array in a data_report
Bid Request Id: 29848
Bookmark in my 'To Do' list
Posted by: infomed (37 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 14.81%
Buyer Security Verifications: Good
Approved on: Oct 4, 2002
8:33:33 PM EDT
Bidding Closes: Oct 18, 2002
8:34:24 PM EDT
Viewed (by coders): 409 times
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Very Small Business Project: under $100 (USD)
Bidding Type: Open Auction
Categories: Database, Language Specific, Visual Basic
Enter chat room for this bid request
(2 active users at Sep 8, 2003 8:23:52 PM EDT)

Description:
I need somebody to show me how to use the following code to build an array (I believe this is the best way to do this).

I am pulling between zero and 50 times from a schedule database with the following code.

Once I pull the recordset, I want to display the schedule, but can't figure out how to do it.

What do I need to do this? You can put code in the data_report, but that's it.

The code below will basically put one row into my data_report, but if there are 50 recordsets, only the last one appears. How do I have controls made on the fly to fit the number of records returned, without having to set up tons of labels at design time?


Thanks
Jon




Private Sub DataReport_Initialize()

'get schedule
Dim cnn1 As ADODB.Connection
Dim strQry As String
Dim rs As ADODB.Recordset

strQry = "Select * from Scheduling Where Scheduling.Date Like '" & p_ScheduleDate & "' Order By Scheduling.Date"

Set cnn1 = New ADODB.Connection
cnn1.ConnectionString = g_ADOschedule
cnn1.Open

Set rs = GetRecordSet(cnn1, strQry) 'get the recordset


Me.Sections(1).Controls(1).Caption = p_ScheduleTitleDate

Do While rs.EOF = False
If Not IsNull(rs!Date) Then
VisitTime = Format((rs!Date), "hh:mm AMPM")
Else
VisitTime = ""
End If

If Not IsNull(rs!name) Then
name = rs!name
Else
name = ""
End If

If Not IsNull(rs!Phone) Then
Phone = rs!Phone
Else
Phone = ""
End If

If Not IsNull(rs!VisitType) Then
VisitType = rs!VisitType
Else
VisitType = ""
End If

If Not IsNull(rs!Booker) Then
Booker = Left(rs!Booker, 10) & " " & Format(rs!DateBooked, "mm/dd/yy")
Else
Booker = ""
End If

rs.MoveNext
Loop


Set cnn1 = Nothing
Set rs = Nothing

Me.Sections(3).Controls(1).Caption = VisitTime
Me.Sections(3).Controls(2).Caption = name
Me.Sections(3).Controls(3).Caption = Phone
Me.Sections(3).Controls(4).Caption = VisitType
Me.Sections(3).Controls(5).Caption = Booker

End Sub


Deliverables:
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:
win

Special Conditions / Other:
I'm not looking for anything fancy, just some good and well commented code which will turn this one rs into 50, if need be.


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!
tjpc
(1 ratings)
in Hackensack, New Jersey
United States
Bid id: 334,929
 
$10 (USD) Oct 5, 2002
7:43:57 PM EDT
 10
(Excellent)
   
Attached File
 




Bid Request 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.
 
Top Coders.

Securenext
Rated a 9.97 on 120 jobs 
Buddies
Rated a 9.84 on 91 jobs 
Codman
Rated a 9.97 on 157 jobs 
Andrei Remenchuk
Rated a 10 on 14 jobs 
D-N-S
Rated a 9.93 on 38 jobs 
hernest
Rated a 10 on 121 jobs 
markesh
Rated a 10 on 22 jobs 
Maxnet Technologi es Private Limited
Rated a 9.93 on 84 jobs 
florentin
Rated a 10 on 56 jobs 
PSergei
Rated a 9.76 on 100 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.