I am trying to do something a little out of the ordinary in Microsoft Access.
I need to create a table from a query that contains exactly 10 results.
the problem is that sometimes the query returns less than 10 results and a simple maketable will only write as many records as it finds.
What I need to do is if a query only returns (say) 6 results, i need to fill 4 records with null records.
(What I am doing is creating a list of football players who have scored a goal in a game - ie. criteria in query is PlayerGoals Is Not Null)
I realise that it is not correct to write query results to a table but I am accessing the database with a broadcast graphic system that can only reference tables in a database (not queries)
I hope I have explained that well enough ! I am a newbie at database design.
I need to create a table from a query that contains exactly 10 results.
the problem is that sometimes the query returns less than 10 results and a simple maketable will only write as many records as it finds.
What I need to do is if a query only returns (say) 6 results, i need to fill 4 records with null records.
(What I am doing is creating a list of football players who have scored a goal in a game - ie. criteria in query is PlayerGoals Is Not Null)
I realise that it is not correct to write query results to a table but I am accessing the database with a broadcast graphic system that can only reference tables in a database (not queries)
I hope I have explained that well enough ! I am a newbie at database design.
Comment