Find Jobs
Hire Freelancers

Dynamic Array / Type Block

$30-5000 USD

Completed
Posted over 20 years ago

$30-5000 USD

Paid on delivery
Here is my situation. I'm trying to create an Array that I can store information into from a Recordset from and SQL DB.<br> I have no problems getting the SQL data, or populating it into a simple array. <p>For this example I have 5 Clients, and for each client I would like to store 5 records.<br> I could use myArray(4,4) or myArray(0 to 4,0 to 4). </p> <p>However I would like to a dynamic array based on the columns I specify in my database.<br> I have for example column DataA, DataB, DataC, DataD, DataE.</p> <p>My idea was to do:</p> <p>Public Type Records<br> DataA as Integer<br> DataB as Integer<br> DataC as Integer<br> DataD as Integer<br> DataE as Integer<br> End Type</p> <p>Dim myArray(4) as Records</p> <p>Then for example I could Store for Client1.</p> <p>myarray(1).DataA = 1<br> myarray(1).DataE = 6</p> <p>This way will work perfect for my situation.<br> The only problem is that &quot;Public Type Records&quot; has to be hard coded I would like to populate it at runtime.</p> <p>Does anyone know of a way that I could make that Type Block dynamic? or do you have another idea?</p> <p>Thanks,</p> <p>Steven</p> ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). ## Platform VB6.
Project ID: 3062342

About the project

1 proposal
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$7 USD in 5 days
5.0 (12 reviews)
3.4
3.4

About the client

Flag of CANADA
Canada
5.0
8
Member since Jul 17, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.