I have a report (Default Community Service) that has a saved query as its datasource (Default Notices). However, I have 5 users that all have different indigency times that I need to put into the report. I am currently using a report variable in an unbound textbox to get the indigency trial time (Enter Indigency Time):
="2. Appearing on " & Format([indigency hearing],"Long Date") & ", at " & [Enter Indigency Time] & ", in person, at " & IIf(IsNull([court address1])," ",[court address1] & " ") & IIf(IsNull([court address2])," ",[court address2] & " ") & [jurisdiction.city] & ", " & [longstate] & "."
However, I have a preferences table tblPreferences and I'd like to move away from the report variable and put it into my preferences table so the users don't have to type the time in each time they run the report. tblPreferences has the following columns:
preferenceID - autonumber
txtPreferenceName - string, name of the preference
txtDescription - description of the preference
memPreferenceValue - memofield with the preference value
In this case I need a single record from the preference table (IndigencyAppearanceTime) and would like to replace the report parameter [Enter Indigency Time] with the value from the query.
What do I need to do to swap them out?
Thanks
Lution
="2. Appearing on " & Format([indigency hearing],"Long Date") & ", at " & [Enter Indigency Time] & ", in person, at " & IIf(IsNull([court address1])," ",[court address1] & " ") & IIf(IsNull([court address2])," ",[court address2] & " ") & [jurisdiction.city] & ", " & [longstate] & "."
However, I have a preferences table tblPreferences and I'd like to move away from the report variable and put it into my preferences table so the users don't have to type the time in each time they run the report. tblPreferences has the following columns:
preferenceID - autonumber
txtPreferenceName - string, name of the preference
txtDescription - description of the preference
memPreferenceValue - memofield with the preference value
In this case I need a single record from the preference table (IndigencyAppearanceTime) and would like to replace the report parameter [Enter Indigency Time] with the value from the query.
What do I need to do to swap them out?
Thanks
Lution