Sending & receiving patient related data between database and form