dogwomble
03-12-2003, 03:41 PM
And a good afternoon to everybody out there in ZGeekland.
I've got a rather nasty problem.
I'm trying to put a mini-prototype database together for an Old Granny's Home to keep vital information for their residents. Done in Microsoft Access - it's going to eventually have an interface tossed over it in something like Visual Basic or something like that.
NEways, I'm having problems with a report. Whenever I run the report over a single table, it brings up all records in that table fine - as you'd expect When you run it over multiple tables (which is what is needed as it is designed to give the full information about a resident so it can be easily viewed and printed) you can only ever get information about the first client in the database. The first and only the first and no others. Despite the fact that I have a second "dummy" person in there.
I've tried putting it in with a query as well and querying upon the surnames. This [B}should[/B] display a report for only that person - I've done this to solve the problem and it would also be more useful to the client if it were done this way. If you do a query on the first person in the database, they come up fine. Query the second person in the database, and it doesn't work - just gives back a blank report even though that person does exist in the database.
I'm at a loss as to what could be wrong.
My first thought was to patch up the relationships between the tables but that all seems fine and actually makes no difference.
Seeing as the database only contains test data and not live data, I am able to send it to someone to take a closer look.
Any takers?
I've got a rather nasty problem.
I'm trying to put a mini-prototype database together for an Old Granny's Home to keep vital information for their residents. Done in Microsoft Access - it's going to eventually have an interface tossed over it in something like Visual Basic or something like that.
NEways, I'm having problems with a report. Whenever I run the report over a single table, it brings up all records in that table fine - as you'd expect When you run it over multiple tables (which is what is needed as it is designed to give the full information about a resident so it can be easily viewed and printed) you can only ever get information about the first client in the database. The first and only the first and no others. Despite the fact that I have a second "dummy" person in there.
I've tried putting it in with a query as well and querying upon the surnames. This [B}should[/B] display a report for only that person - I've done this to solve the problem and it would also be more useful to the client if it were done this way. If you do a query on the first person in the database, they come up fine. Query the second person in the database, and it doesn't work - just gives back a blank report even though that person does exist in the database.
I'm at a loss as to what could be wrong.
My first thought was to patch up the relationships between the tables but that all seems fine and actually makes no difference.
Seeing as the database only contains test data and not live data, I am able to send it to someone to take a closer look.
Any takers?