On Oct 3, 2006, at 12:40 AM, Jonathon Bevar wrote:

Is there a way to set the Patient database to only except 1 Patient or 25 Patients. The unlimited one I have already.

NOTE: I was thinking of having it come up with a mesage saying "This is a DEMO edition, please purchase the Family or Professional edition to handle more Patients.". And of course this "The Family Edition can handle only 25 Patients, if this is not enough please puchase the Professional edition to handle Unlimited Patients.".

What you can do is check the number of Patients before you add a new one. All you need to do is run a SELECT statement and get a RecordCount. If it is greater than the allowable patients, then you do not allow the write. If you have a screen which the user needs to enter a lot of data for each patient, it would probably be better to check records just when the Window opens (this is to prevent anger against entering all of the data and not being able to save it). Also, if the Professional version is running, then you do not perform the RecordCount check at all.

BTW, I personally think that a Family of 25 is too much... that is a small medical center. I would personally limit the Family edition to 5 patients. A family could always buy another copy if they have more than 5 family members that need to use your product.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to