cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for a step-by-step tutorial to work with objects 1-n in SAP CR VS2010.

Former Member
0 Kudos
74

Hi masters,

I need a tutorial step-by-step to work with a list of objects in a class using SAP CR VS2010. 

My classes are:

    class Conta

    {

        public Conta(int pVal, string Code)

        {

            Valor = pVal;

            Codigo = Code;

        }

        public string Codigo { set; get; }

        public int Valor { set; get; }

    }

    class Student

    {

        public Student(string Code, string Name, DateTime BirthDate, int pNota)

        {

            this.Codigo = Code;

            this.Nome = Name;

            this.Idade = BirthDate;

            this.Nota = pNota;

        }

        public IList<Conta> contas = new List<Conta>();

        public string Codigo { set; get; }

        public string Nome { set; get; }

        public DateTime Idade { set; get; }

        public int Total { set; get; }

        public int Nota { set; get; }

        public int Age

        {

            get

            {

                int now = DateTime.Now.Year;

                int birth = Idade.Year;

                return now - birth;

            }

        }

    }

I want to make a master detail report with objects Student and Conta.  My devsystem is VS2010 , SAP CR and NHibernate.    

Any suggestion?

Best Regards

Leandro

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Download CRVS2010:

http://scn.sap.com/docs/DOC-7824

Download the Developer help files:

SAP Crystal Reports .NET API Guide

SAP Crystal Reports .NET SDK Developer Guide

Report Application Server .NET SDK Developer Guide

Report Application Server .NET API Guide

See this blog:

http://weblogs.sdn.sap.com/pub/wlg/20840

Search using the search box in the top right corner of this web page.

Check out the sample apps (none have the specific requirements of what you are looking for, but worth looking at in any case):

http://wiki.sdn.sap.com/wiki/x/JQBmBQ

http://wiki.sdn.sap.com/wiki/x/IgBmBQ

Check ou the doc Crystal Reports for Visual Studio 2005 Walkthroughs

- Ludek

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Answers (0)