Solved

Need advise!

Posted on 1997-12-02
2
120 Views
Last Modified: 2010-04-04
Hi,

I'm working on an access database. I need to put some values of measurement points into the database (every day 25-50 centers send these measurement points to us) It are about 50 floating point numbers. Some of the values are related to each other. Now I've got in my database 21 related numbers saved as a string, 10 related numbers saved as a string, ... But I also need to do calculations on them and I need to send them to a graph and a grid, ... For that I always have to extract them out of the strings.

Question : Is there a better way?

 Like : Save all values to database as floating points
         (Better? More place on harddisk?)

        Is there another type which is usefull?
          > Easy to handle a collection of numbers
          > Quick for display and 'real-time'

        Perhaps in future other handlings with data?
          > So is it the best to write them as numbers?        

Thanks in advance.
         

0
Comment
Question by:ZifNab
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
tecbuilder earned 10 total points
ID: 1352655
As I see it you have to parse the information from the string in order to use regardless of what you do.  Therefore, your options become more dependant on time it takes to parse the string each time you want to use the data in the string and the space to maintain a table with all the values parsed from the string.

I don't like the notion of parsing all the time in order to use the data and in the end this method may cost more in disk space.  This method would also require you to incorporate in all programs a function to parse the data.  But what happens if something changes later on like the character that seperates the data.  You would have to rebuild each program with the new change.  Ouch!

My preference, is to break the data into a table as you recieve the data.  Use 1 or 2 columns for the primary keys and the last column for the data.  You can then build a relational database around this if you need to.  You can query the information quickly, summarize the data, etc.  All in all the best choice.

If I didn't cover something specific enough let me know.
0
 
LVL 8

Author Comment

by:ZifNab
ID: 1352656
Hi tecBuilder,

Thanks! I already did this yesterday. Because of you, I know I made the right decision.

Regards.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question