G
Guest
I created a database that keeps track of clients that come to our substance
abuse program. some client come for a month then leave and come back. So i
have a table that has client information, it contains clientid, program name,
entry date, termination date. so 1 client could have multiple entries in the
program table.
each time a client comes to a meeting we enter that information so that we
can bill for this client. the problem that i am having is that if a client
has 2 entries for a program (if the client dropped out and then came back to
the program) and i run a billing report on this client, the billing
duplicated because it looks like the client was in two programs. i tried
putting is null in the termination date and that seems to work, but if a
client is terminated and i try to run old billing for him, it won't show up
because i have is null in termination date. hope this makes sense. any
suggestions is greatly appreciated.
abuse program. some client come for a month then leave and come back. So i
have a table that has client information, it contains clientid, program name,
entry date, termination date. so 1 client could have multiple entries in the
program table.
each time a client comes to a meeting we enter that information so that we
can bill for this client. the problem that i am having is that if a client
has 2 entries for a program (if the client dropped out and then came back to
the program) and i run a billing report on this client, the billing
duplicated because it looks like the client was in two programs. i tried
putting is null in the termination date and that seems to work, but if a
client is terminated and i try to run old billing for him, it won't show up
because i have is null in termination date. hope this makes sense. any
suggestions is greatly appreciated.