Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by infimo

  1. infimo

    Inheritance issue

    Thanks a lot Rick. That did the trick! But I already used a laborous work around. Next time, I'll keep abstract classes in mind. Infimo
  2. infimo

    Inheritance issue

    Thanks JohnYingling for your reply. I still don't understand. If I create an interface with a method Info() and implement this method in each of my 3 controls. I can make these controls inherit UserControl directly. But the problem occurs where I need a generalized instantiation of these...
  3. infimo

    Inheritance issue

    But Info() is to be defined in the child classes. And I am not able to use an interface, because I have to somehow use the UserControl as the base class. So if I define an intermediary interface that has info() in it (to be implemented in the child classes), then this interface cannot inherit...
  4. infimo

    Inheritance issue

    I have 3 UserControls (i.e. they inherit System.Windows.Forms.UserControls) In each of these UserControls, I have a method named "Info()". How can I get this method to be executed without having a direct instantiation of one of the actual controls? Lets call my 3 controls as ControlA ControlB...
  5. infimo

    Total is not what is expected

    Thanks a lot!! Fixed my problem and opened up a wealth of new possibilities for me. I didn't know about Running Totals at all. Infimo
  6. infimo

    Total is not what is expected

    I have a report that uses a pair of master-detail type tables: Table A (Parent) and Table B (Child) The schemas of these two tables is as follows: Table A ------- AID AName Cost Table B ------- AID BID BName TableB's AID is a foreign key referencing Table A's AID I need to display the report...
  7. infimo

    Setting datasource of an embedded subreport

    Yes, I did try it out as explained in this article but that was not the problem. This may be quite silly, but I was specifying the SubreportName incorrectly. I assumed that the Name property of the subreport object (VB.NET) is what I need to use. Turns out I need to use the SubreportName...
  8. infimo

    Setting datasource of an embedded subreport

    How can I set the datasource of an embedded subreport to an ADO.NET dataset? I can set the datasource of the main report using the setDatasource method of the ReportDocument object. I am using Crystal Reports.NET with VB.NET. Thanks a loooot in advance. I've been stuck on this for a long...
  9. infimo

    Menubar of MDI parent form covers child form

    When I load a child form inside an MDI parent, the menubar of the parent covers the child somehow. The MDI parent is set to FormWindowState.Normal and has MaximizeBox, MinimizeBox and ControlBox set to True. The child has the Startup state set to FormWindowState.Maximized and has the...
  10. infimo

    Find bounds of viewable area in MDI form

    I have an MDI form in which I load child forms. I need to resize the child forms to fit the entire dimensions of the internal viewable area of the MDI form. How can I find this? If I set the width and height of the MDI form to say, 800 and 600 respectively, the internal viewable area is always...
  11. infimo

    Prevent loading of report on Form_load in VB.NET

    Hmm... probably a very silly question from me. I just had to instantiate the ReportObject by code. And set the CrystalReportViewer's ReportSource to this ReportObject via code (after I set all the parameters of the ReportObject). Thanks. Infimo
  12. infimo

    Prevent loading of report on Form_load in VB.NET

    I don't want the report to load before I explicity issue a command for it do so. Actually, I require to set a parameter's value in code. If the value is not set when loading the prompt comes up. I am using Crystal Reports for Visual Studio.NET and using a CrystalReportViewer control to load...
  13. infimo

    Grouping help

    Thanks bdreed35 and synapsevampire. Your solution worked well. I am using this report under Visual Studio.NET. Is there a way to set the parameter's value using code. I figured out there's a method ReportObject.setparametervalue and it probably does seem to set the value. But, before I can set...
  14. infimo

    Grouping help

    I am grouping my report using two fields Field A and Field B. I want the user to be able to either group by Field A and Field B or only by Field A. In both cases I want the details to be sorted on the basis of Field C. How can this be achieved? Infimo
  15. infimo

    Ole Object shows only first page.

    Actually, its the first page itself. Sorry for the goofup. But, it doesn't even show the header and footer. (Thats why I got confused). Infimo

Part and Inventory Search

Back
Top