clchildress Posted February 4, 2008 Posted February 4, 2008 (edited) I hope this post is in the right place. I have a database with multiple patients. Each patient has multiple records, which is accessed through a portal. Pretty simple so far, but I need to be able to have a field which automatically tells a user how many records each patient has so that they don't have to count. I'm really not quite sure how to do this. The patients are on one table, and the records are on another. Each record has its own serial ID assigned at creation. Each record is related to the patient according to that patient's SSN. What's the best way to handle this? Edit: I was able to figure this out myself by simply working with functions until I found the right one. I am using the count function, by the recordid field. Edited February 4, 2008 by Guest
Recommended Posts
This topic is 6135 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now