Hi,
I have an unbound form that I use for data entry into a table called tblPatient. The table has fields like last name, first name,dob,phone ..
After the user fills the form they click the "save+print" button. When the "save+print" button is clicked ,I execute an sql insert statement which adds the new record into my table. After the record is inserted I generate a report which is based on that record that I just inserted.
The report gets its values from the form .
-Users have just recently requested a feature wherby they can view all records in my table and basically chose one record and generate the report based on that record. So in short user want the capability of viewing all records in table tblPatient and then chosing one on which the report will be based.
-I am a little confused on how to go about this. If I were to use a combo I believe I can bound it to my tblPatients .
I would like to show at least 3 fields from my table first name,last name,problem,time.So the combo box would have an items like
paul,white headache 12:00PM
sam,david heat exhaustion 1:00PM
After the user selects an item I want to generate the report based on that item .How can I set the report to get its values from a record?
Can someone help me out?Short on time.
Thanks
sync123
I have an unbound form that I use for data entry into a table called tblPatient. The table has fields like last name, first name,dob,phone ..
After the user fills the form they click the "save+print" button. When the "save+print" button is clicked ,I execute an sql insert statement which adds the new record into my table. After the record is inserted I generate a report which is based on that record that I just inserted.
The report gets its values from the form .
-Users have just recently requested a feature wherby they can view all records in my table and basically chose one record and generate the report based on that record. So in short user want the capability of viewing all records in table tblPatient and then chosing one on which the report will be based.
-I am a little confused on how to go about this. If I were to use a combo I believe I can bound it to my tblPatients .
I would like to show at least 3 fields from my table first name,last name,problem,time.So the combo box would have an items like
paul,white headache 12:00PM
sam,david heat exhaustion 1:00PM
After the user selects an item I want to generate the report based on that item .How can I set the report to get its values from a record?
Can someone help me out?Short on time.
Thanks
sync123