robsil Posted April 11, 2017 Share Posted April 11, 2017 Greetings,I have a table that is displaying basic data on meds (Name, Dosage, Doctors Instructions). Each row of meds can be in my data source more than once (e.g. if the doctor adds another note). So I am trying to group by Med Name, Med Dosage within my Table. It currently will show the data just fine, just will have repeated rows if more than 1 note is added to a med.e.g. Aspirin | 2 tablets daily | Take with waterAspirin | 2 tablets daily | Also take after a meal.Tylenol | 15mL every 4 hrs | For infants only My goal (since this table doesn't care about doctors instructions) is this:Aspirin | 2 tablets daily Tylenol | 15mL every 4 hrs So I click on my table data set, select Groups sub menu, right-click and Create Group, calling it MedsOnlyGroup. In the dialog I enter a name and then an expression of "$F{MedName}+$F{Dosage}". I then attempt to preview my report and I get an error: No group named MedsOnlyGroup" found in subdataset MedsTable_DataSet. (note only 1 quote in error message. Suspect this is just a typo though)Reset group "MedsOnlyGroup" not found for variable: Group1_COUNTAnyone know what I am doing wrong? Thanks,Rob Link to comment Share on other sites More sharing options...
reportdev Posted April 13, 2017 Share Posted April 13, 2017 At times, even though the group names are changed on the GUI, the jrxml does not reflect the change.Try to save the jrxml and close the jrxml. Open the jrxml again. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now