Hello,
I am a police officer with the city of Winter Haven Florida and have been creating our new report writing system with infopath. The project is approximately 90% complete but I am having trouble with some of the advanced features. (or at least advanced for me.
I don't know what level of assistance I may get but I was hoping that someone may have had the same propblem I'm having and beat it. Any assistance would be greatly appreciated.
To set the stage the report consists of a main section which is in all reports. Then has multiple optional sections with a repeating section inside of them so the officers can ad as many people, suspects, property, etc as they need to.
The form is done and works great. However there are a few things that I would realy like to see.
1. The first problem is I have a repeating table so the officers can list the types of offenses. I have one cell which I have changed to a drop down. it is linked to an access data base which I wrote for the Florida State laws. I wanted a another cell to be automaticly filled with the statute number that matches the offense I have selected. I got it set up and it works following your examples, However it only works for the first selection. When I add a second row sometimes it works correctly sometimes it doesn't. But needless to say once I add the second row any others show the same statute number in the auto-populated cell. This is what steps I took.
1. Create the repeating table.
2. Change one of the fields to a drop down.
3. Link that drop down to the database.
4. set a rule to fill the statute number field.
5. opened the filter and added a filter so the crime = the database name for it.
I noted that when I opened the filter there was a long filter there I had to remove that one to get it to work at all.
it looks like this: rule1: @statutenum=@statute[description=charge}
filter: description=charge
Can you help?
The second issue is this I have option/repeating sections for listing suspects. I also have optional/repeating section for writing the charging documents. I there a way to get the suspects data to auto populate the fields in the charging document from the suspect section so that the first suspect goes in the first charging document, the second on goes in the second and so on? I could do it with drop down boxes but I would rather have it do it automatically.
Any help in this issue would be great.
Thanks in advance,
Ofc. Richard Ganey
Winter Haven Police Department
[email protected]863-287-1952