OddProject
Registered User.
- Local time
- Yesterday, 23:47
- Joined
- Nov 24, 2009
- Messages
- 67
Hi, I have a signle table with a large number of feilds (project ref, name dates etc... and a large number of skills). the skill feilds hold a number (number of days) assigned to each skill. If no values are entered no skill for that particular project is needed.
Many of these feilds remain null, but many have a value (but not for all rows).
I want a query to retrieve all results excluding a feild with no values at all (all null).
Example:
Project code:_Skill1__skill2__skill3__skill4__Skill5__Skil l6
AA00001______ 1__________ 4
AA00002
AA00003_______3__________2_____1
AA00004______________________________1
Now if I use a query to select all rows and use the criteria Is not null (on each individual feild) it returns nothing at all, due to the fact that each skill has a null. all i want excluding from the example above are feilds 'skill2 and skill6'. Would this have to be a manual operation to find each feild with no vaules and leave them out of my query? I would much prefere a query to exclude each feild with 0 values for every project.
Keeping in mind I have over 30 skills in my table.
I also tried adding a 0 instead of a null and trying >0 as the criteria, but returns no results much like the Is not null.
Note, I need this for reporting, I can't include all the feilds (null) as 1. Access wont let me and 2. Readability.
I just need a method to present all the data with values for each project excluding feilds with no vaules at all.
P.s I also have another relational DB (a test) keeping the skills in a seperate table (using the project code for Primary/Foreign key), I cannot find a method for either way...
Can someone please help me... I am getting nowhere and have run out of ideas? Is what im asking actually possible? It seems to me that it is very simple (on paper) to simply exlude a feild with no values, I just need to know how to put it into practice and exlcude multiple feilds.
Please help,
Thank you!
Many of these feilds remain null, but many have a value (but not for all rows).
I want a query to retrieve all results excluding a feild with no values at all (all null).
Example:
Project code:_Skill1__skill2__skill3__skill4__Skill5__Skil l6
AA00001______ 1__________ 4
AA00002
AA00003_______3__________2_____1
AA00004______________________________1
Now if I use a query to select all rows and use the criteria Is not null (on each individual feild) it returns nothing at all, due to the fact that each skill has a null. all i want excluding from the example above are feilds 'skill2 and skill6'. Would this have to be a manual operation to find each feild with no vaules and leave them out of my query? I would much prefere a query to exclude each feild with 0 values for every project.
Keeping in mind I have over 30 skills in my table.
I also tried adding a 0 instead of a null and trying >0 as the criteria, but returns no results much like the Is not null.
Note, I need this for reporting, I can't include all the feilds (null) as 1. Access wont let me and 2. Readability.
I just need a method to present all the data with values for each project excluding feilds with no vaules at all.
P.s I also have another relational DB (a test) keeping the skills in a seperate table (using the project code for Primary/Foreign key), I cannot find a method for either way...
Can someone please help me... I am getting nowhere and have run out of ideas? Is what im asking actually possible? It seems to me that it is very simple (on paper) to simply exlude a feild with no values, I just need to know how to put it into practice and exlcude multiple feilds.
Please help,
Thank you!