Results 1 to 18 of 18

Thread: VB.Net reports?? SQL Server locking

  1. #1

    Thread Starter
    Fanatic Member Ggalla1779's Avatar
    Join Date
    Feb 2006
    Location
    Glasgow
    Posts
    532

    VB.Net reports?? SQL Server locking

    Hi all

    I have a new client and want to mix up my usual deployment.

    Normally use access database for reports....is there a way to do reports/ invoicing letters with data merged in VB.net??

    Was also going to use SQL.....anyone found this path to be difficult? Am thinking off record locking

    cheers

    George

  2. #2

    Thread Starter
    Fanatic Member Ggalla1779's Avatar
    Join Date
    Feb 2006
    Location
    Glasgow
    Posts
    532

    Re: VB.Net reports?? SQL Server locking

    BTW Am using VB.Net 03

  3. #3
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: VB.Net reports?? SQL Server locking

    By SQL you mean using something like SQL Server 2005 or SQL Server Express?

    What are you concerned about locking for reports?

    How will you be getting the recordset for the report?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  4. #4

    Thread Starter
    Fanatic Member Ggalla1779's Avatar
    Join Date
    Feb 2006
    Location
    Glasgow
    Posts
    532

    Re: VB.Net reports?? SQL Server locking

    Yes deffo using SQL Server Express...small company wanting it.

    Am have never used .Net03 reports...is there reporting feature?? Like wot Access can do?

    In Access would just generate Query/ recordset...was going to use dataset and find replace with Name, Address etc etc

    In Fact if VB.Net doesnt have reporting companant could I use word to create invoices and then fill details and save Invoice out........

  5. #5
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: VB.Net reports?? SQL Server locking

    In my limted experience the best reporting component to use in Visual Studio .NET is Crystal Reports, but this is not nearly as easy to use and WYSIWYG as Access reports.

  6. #6
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: VB.Net reports?? SQL Server locking

    How many reports are you going to be producing - rough estimate...

    Will the users want to modify these themselves?

    Are they willing to purchase Crystal - and learn it?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  7. #7

    Thread Starter
    Fanatic Member Ggalla1779's Avatar
    Join Date
    Feb 2006
    Location
    Glasgow
    Posts
    532

    Re: VB.Net reports?? SQL Server locking

    Its a small company wuld not expect the users to do anything but print reports or look back for historic reasons.

    Not met with client to go over whole spec yet but would reckon 1 Invoice report, credit note, summary of services report.

    Possibly other reports about staff or availablity of staff.

    That kinda thing...I can do this in Access but want to do this 1 in VB.net and SQL Server Express

  8. #8
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: VB.Net reports?? SQL Server locking

    We don't like Crystal here in my shop.

    We believe that printing to the printer directly is the best method - we store our "print requirements" in a table in the DB so we know what page position, etc, to print items on.

    For the number of reports you need I would recommend that.

    I've not used the PRINTER object in .Net yet - so I cannot help from that point.

    Also - there is a REPORTING SERVICE in MS SQL 2005 - have you looked into that?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  9. #9
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: VB.Net reports?? SQL Server locking

    I do both what szlamany says (build my own reports from scratch using printdocuments, and using crystal reports)

    They are both good for their own reasons, and I pick which one based on the criteria of the report itself.

    Crystal can both go out and grab the data from a database via a query, or you can pass in a .NET dataset for the report to use as its datasource.

    Honestly crystal is very good, but it has 2 downsides.

    1) it seems to be a pain to deploy for a lot of people (I personally did not have this problem, but I have heard lots of people have)

    2) You can only design the report at design time, you can't view it with data until you run the app and view it in the report viewer control. If you had the full version of CR, this would not be the case. My guess is they left this ability out of the free .NET version as a selling point for the full version.

  10. #10

    Thread Starter
    Fanatic Member Ggalla1779's Avatar
    Join Date
    Feb 2006
    Location
    Glasgow
    Posts
    532

    Re: VB.Net reports?? SQL Server locking

    ok Lets say I fire on with the free crystal reports and pass it dataset. How would I let the client view report? Just drop CR widget onto form?

    I dont mind the design time limitation as so long as dataset is filled right (ouch!!) and report looks ok then it shouldnt be too bad.

    How would I deploy cr bit when I roll it out to cliebnt...or would .net just recognise I am using it and pass all the right bits

  11. #11
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: VB.Net reports?? SQL Server locking

    you can view this page on CR's website and get the mergemodules needed to deploy. there is also a PDF found there with info on how to do this, if you read it over you should have no problems.

    http://support.businessobjects.com/f...modules.asp#04

    as far as the client viewing the report, yes, all you would do is create a form with the CRViewer control on it (and a tiny bit of code)

    Here you will find 118 samples in a zip file of VB and C# using CR for .NET
    http://www.businessobjects.com/produ...et/default.asp

  12. #12

    Thread Starter
    Fanatic Member Ggalla1779's Avatar
    Join Date
    Feb 2006
    Location
    Glasgow
    Posts
    532

    Re: VB.Net reports?? SQL Server locking

    kleinma...thanks very much for that...wot u like only 118 code samples...I am in heaven!!!

    cheers George

  13. #13
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: VB.Net reports?? SQL Server locking

    Of course if you decide to eschew the Crystal Reports world can i recommend (or blow my own trumpet with regard to) the DataGridprinter and StructuredPrintUtilities code - one or t'other should suit your needs...

  14. #14
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: VB.Net reports?? SQL Server locking

    I have not used it yet, but doesn't SQL Server 2005 also have some sort of reporting built into it? or is that a different type of reporting (not actual data reports)

  15. #15
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: VB.Net reports?? SQL Server locking

    Quote Originally Posted by kleinma
    I have not used it yet, but doesn't SQL Server 2005 also have some sort of reporting built into it? or is that a different type of reporting (not actual data reports)
    I mentioned that back in post #8, but I have not used it and don't think it's available in EXPRESS (not 100% sure of that though).

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  16. #16
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: VB.Net reports?? SQL Server locking

    Sooner or later I will need to jump over to SQL 2005. I am currently still using SQL 2000 for all my database needs

  17. #17
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: VB.Net reports?? SQL Server locking

    We've got 2005 installed on our server here - but none of my customers have it yet - so it's just a tease for me!

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  18. #18
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: VB.Net reports?? SQL Server locking

    Yeah I have it via the MSDN, I even have SQL 2005 Express installed on my dev box, but I haven't had a need to use it just yet

    I heard you can write .NET code in it though.. which is pretty interesting

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width