| | |
Collecting Statistics from fields
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
I have a list box containing a list of field names. The user would select/hi-light a number of these so they can find out quantities.
The file the fields are from is in csv format
ie: List box contains-
Title
Initial
Surname
Address1
Address2
Media Code
Ref Number
If the user selects 'Title' and 'Media Code' then click a command button. The app will run through the data counting how many of each variation it finds. A report will then be created.
Results for Title:
Mr - 3654
Mrs - 3554
Miss - 564
Ms - 884
Dr - 3
Results for Media Code:
A123 - 4533
B545 - 6003
Blank - 27
I was thinking on the lines of using an array to store the information but not sure. The user could select anything from 1 field upto and above 30. (Some files have over 100 fields to choose from.)
I do not want to import the data into a database. the records within the file range from a few hundred to 6-7 million.
Thanks for any help/ideas given.
PG
The file the fields are from is in csv format
ie: List box contains-
Title
Initial
Surname
Address1
Address2
Media Code
Ref Number
If the user selects 'Title' and 'Media Code' then click a command button. The app will run through the data counting how many of each variation it finds. A report will then be created.
Results for Title:
Mr - 3654
Mrs - 3554
Miss - 564
Ms - 884
Dr - 3
Results for Media Code:
A123 - 4533
B545 - 6003
Blank - 27
I was thinking on the lines of using an array to store the information but not sure. The user could select anything from 1 field upto and above 30. (Some files have over 100 fields to choose from.)
I do not want to import the data into a database. the records within the file range from a few hundred to 6-7 million.
Thanks for any help/ideas given.
PG
![]() |
Similar Threads
- Database design - how to? (MySQL)
- Should I major? (Computer Science)
- AdSense now offers detailed statistics! (Advertising Sales Strategies)
- Add Fields to the Details View of Folders (Windows tips 'n' tweaks)
- Statistics tracker? (Linux Servers and Apache)
- Tab control on hidden input fields (HTML and CSS)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: wav file problem
- Next Thread: Password Generator
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






