Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Old Record Collection

Posted by BJ (BJ), 6 April 2005
I want to come up with a report for an old record collection.....First of all which fields could i use and data types?......need pseudo code(VB) for generating report that prints all the records with all the records made by the same artists on one page aswell as the number of records by each artist.....can someone help?

Posted by admin (Graham Ellis), 6 April 2005
I think you've started to answer your own question there - you're correctly starting by loking at what data fields you'll need on the output.   I can't advise exactly what you'll need but you should be able to work it out from knowing how your final reports will appear ... you'll need a field for each column on your final report unless it can be calculated from other fields, and you should always have a unique id / reference number key too.  That way, you'll easily be able to handle issues like (example) two copies of the same record in the collection.

As regards field types, you need to think of the type of data held in each and think is it going to be a whole number, a number that can have decimal parts, a piece of text or just a piece of data to be held.   That will then tell you that the data should be an integer, float, text or blob type respectively.   Thinking about the maximum range of the value will tell you whether it should be a tinyint, a bigint or something in between ...

Posted by BJ (BJ), 8 April 2005
Thanks...I think i have a handle on it now...Just needed some support i guess...



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho