report
The Select Filter code was looking for 5 combo boxes and the form only had four. Same with the code behind the Clear button.
Also changed the Tag of each combo box to it's data source field name.
Then added the code mentioned above.
Report
I downloaded your db and clicked on the Select Filter button and got no errors. However, once I used one of the filters, run the report (which looks fine), and then click on Clear and again click on Select Filter, the data does not refelect All data it just keeps the old filter.
I...
Word
I tried this code in the OnClick Event of a command button in Access 2000 and it worked just fine....
Dim LWordDoc As String
Dim oApp As Object
'Path to the word document
LWordDoc = "c:\Doc1.doc"
If Dir(LWordDoc) = "" Then
MsgBox "Document not found."
Else...
age
I am assuming that the data source of your form is the table that contains the DOB and age fields.
If you enter an age in your age field on that form does it save that info?
If that textbox's data source is Age then it should save the info.
Are you able to post your db or is it contain...
age
In the After Update Event of the DOB textbox place your code such that
me.age=DateDiff("yyyy",[DOB],Now())+Int(Format(Now(),"mmdd")<Format([DOB],"mmdd"))
where age is the name of the textbox on your form whose data source is age in your table.
check boxes
In the OnPrint event of your report place this.
If [checkbox1]=-1 then
[textbox1]=1
else [textbox1]=""
end if
Place a texbox for each checkbox in your report and use the above code.
There are several ways to do this, this is just a simple case.
The -1 means that the checkbox was...
query
In the criteria field of the query that contains the questionaire data set the criteria of the ID to whatever you want the search on. For instance, if you want to see the questionaire data for the person that has ID=3, the criteria field using the value of 3 will pull up just that person...