Dave F
Dave F
About
- Username
- Dave F
- Joined
- Visits
- 0
- Last Active
- Roles
- Members
Comments
-
I'm using OnBeforePrint to print DetailData1 if it IS empty: procedure DetailData1OnBeforePrint(Sender: TfrxComponent); begin   if DetailData1.RowCount = 0 then   begin                    Engine.ShowBand(DetailData1); …
-
I don't understand that at all. Why would I want to get rid of the TfrxHeader band? Isn't the RowCount property hardwired via the underlying table? I work best from examples. I'm just trying to get a Detail band to show up once when the dataset i…
-
Can you provide a simple example report I can open in the designer showing how to get the child band to print when the detail dataset is empty? I've got a simple master->detail report with all objects on the child band and can't get this suggesti…
-
Ok, this is a bit weird. Don't know why I didn't notice this before. The reason I've been asking about this is because I don't see the frxBDE components on the palette for me to add. Please check the attached screenshot named "NoBDE.png". Dave …
-
Sorry, I meant I'm trying to add a TfrxBDETable to the DataTree. Something like "myBDETable.Parent:=TfrxDesignerForm(frxReport1.Designer).DataTree.DataPn;". Dave F wrote: » I'd like to be able to use the designer to establish a master-detail re…
-
I'd like to be able to use the designer to establish a master-detail relationship between a pair of TfrxBDETables. A TfrxADOTable can easily be dropped on the TfrxDesigner.CodePanel by using the palette. But TfrxBDETable is not available to be dropp…
-
This is the same demo, with TfrxADOTable. gpi wrote: » See a sample for FRDemo in the attach (TfrxBDETable have same behavior like TfrxADOTable)
-
But we're using dBase tables with TTable, not ADO. gpi wrote: » See a sample for FRDemo in the attach
-
Actually, I'm trying to do this from the Code tab, with something like this: begin     GetDataSet('Product').MasterSource:=GetDataSet('Typ_prod').DataSet;                                            …
-
Where? On the Data tab? A short example would be great. gpi wrote: » Set Master property for detail query, use param names in the detail query as field names in the master dataset
-
This works for the menu Open command; how do I generate this behavior for the Open button that is on the designer itself? gpi wrote: » Use for Open command procedure TForm1.FormShow(Sender: TObject); var   Designer: TfrxDesignerForm; begin  …
-
That cleaned it up. What's going on here? gpi wrote: » remove frxDBDataset1 from form
-
Any help?
-
Attached. gpi wrote: » Create small demo project and attach it here
-
This particular version of my code does not throw a specific error. Not sure why either. I'm running it from the IDE yet it is not trapped properly. Polomint wrote: » Polomint wrote: » but when Preview is attempted an error is thrown W…