Adding a bit more. Is it possible to have a datareport with grouping levels if there is no dataenvironment installed, ie report from SQL. I cannot even find how to insert a Group heading section with just a straight line in, it reports "Report sections do not match data source", and thats just a graphical line put in, so what chance groping in the dark do I have of recognisiing data to put in the group row heading. My code so far is
StrSQL = "SELECT * FROM Episode "
Set Rs = MyConn.Execute(StrSQL)
With DataReport1
.DataMember = vbNullString
Set .DataSource = Rs
.Caption = "Title of Report"
With .Sections("Section1"

.Controls
.Item("DD"

.DataField = Rs.Fields(5).Name
.Item("DE"

.DataField = Rs.Fields(6).Name
.Item("DF"

.DataField = Rs.Fields(7).Name
End With
.Show
End With
It looks simple enough if VB was logical, to include ("Section2/3"

whatever and stick controls there, but as usual the whole thing is designed to waste another day or two. If anyone has any ideas I would be greatful. Kept away from Dataenvironment as problems passing variables through.
Can I load a datareport from a listbox??, I could manage to fill that the way I want things. Thanks