Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Printing from sql server express

  • 16-05-2012 3:17pm
    #1
    Registered Users, Registered Users 2 Posts: 2,055 ✭✭✭


    Hi all,

    I have a sql server express db with about 1000 records relating to venue locations in the city.

    I wish to print much of this this data (venue name, address, opening times etc) to a document (not to screen)
    How can I best achieve this?

    I have basic .net skills (used to be better :( ) - coudl I use VB.net or crystal reports???


Comments

  • Registered Users, Registered Users 2 Posts: 1,456 ✭✭✭FSL


    Depending on how you want the final document to look you may find Crystal reports better. The source would be the output of a query on the Database.

    Alternatively you could run the query in SQL Express copy the output and paste it into a spreadsheet (Excel or Libre office) format it and print it.


  • Registered Users, Registered Users 2 Posts: 586 ✭✭✭Aswerty


    Well for printing you can go file -> print.

    If you want to know how to get the specific rows/columns you want you can use a SQL query. If you don't know anything about SQL you can still easily perform simple queries with a little reading. Just note if the data is spread over a number of tables this can complicate matters.

    W3Schools give a brief tutorials on creating SQL queries.

    http://www.w3schools.com/sql/default.asp

    You could use VB.NET but you would at some point have to replicate the same SQL query that you would use directly in SQL Express. Crystal reports would also be able to do it but I haven't used them and am unsure of the complexity involved in generating what sounds like a pretty simple report.


  • Registered Users, Registered Users 2 Posts: 2,055 ✭✭✭Zipppy


    thanks for that .. yeas I'm ok with sql / .net.

    I'm not seeking a tabular print out more w formatted report like format...so perhaps I'll investigate crystal reports....


  • Registered Users, Registered Users 2 Posts: 2,781 ✭✭✭amen


    I believe you can use MS SQL Reporting Services with SQL Express.

    You could also set up mail merge from Word and extract the data that way....or export as XML and transform with XSL to produce a new report.

    Loads of ways really.


Advertisement