David-
I would do two separate fields - one text and one numeric. If you know which types of analyses need text and which need numeric, you can put code in the Current event of the form editing the data to enable / disable the appropriate fields so that the user doesn't put a number in the text field.
John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
(Paris, France)
On Dec 10, 2016, at 12:33 AM, david.pratt@outlook.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
In my application I am collecting equipment monitoring data. I have a table of Parameters, and most of the data is analytical data and will be numeric, but some of the data is observations (clean or dirty, clear or turbid, smooth or vibrating, etc). Some of the analytical input will include the < or > signs. Any advice on data type for the results for these parameters?
I am thinking that the Result field will need to be string data. However, for the data that is numeric I will want to convert to decimal and do math such as average, max, min, etc.
In searching the net I find the VAL function which will convert a string to numeric, but just until a non-numeric character is found in the string. In the case where a < or > symbol exists, it is the first character, so this isn't going to work. And truthfully, I am not even sure I want it to work for < and > values.
Anyone have advice for this?
__._,_.___
Posted by: John Viescas <johnv@msn.com>
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.
.
__,_._,___
Tidak ada komentar:
Posting Komentar