13bce creating a report from sql server data
Sign Up |  Live StatsLive Stats    Articles 37,305| Comments 176,998| Members 19,397, Newest birinder| Online 434
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Sikh Philosophy Network » Sikh Philosophy Network » Current News » Information Technology » creating a report from sql server data

creating a report from sql server data

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 100 USD (20%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
creating a graph in a report with more than 6 sets of data... Rachel Information Technology 1 28-Jul-2006 08:29 AM
Why does creating lookup wizards delete my data?? rocketD Information Technology 2 28-Jul-2006 08:23 AM
creating a combo box that uses a list of values in data access pag NSNour Information Technology 0 28-Jul-2006 08:22 AM
Creating a Report Marcel Stoop Information Technology 4 02-Nov-2005 11:47 AM
Printing Report from Disconnected Project with SQL Server Data dougloj Information Technology 1 28-Oct-2005 18:00 PM


Tags
creating, report, sql, server, data
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:12 AM
sisernhagen@gmail.com's Avatar sisernhagen@gmail.com
Guest
 
Posts: n/a
   
   
creating a report from sql server data

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I created an access front-end to a sql server database and I'm stuck
trying to generate a report via a event procedure. I purposely am not
using linked tables and instead connect to the DB using a ADO
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10390-creating-a-report-sql-server-data.html
connection string. I cant figure out how to base a report on a query
where the tables are not linked. I want to be able to use a ADO
connection string to query the db and base a report on it. How do I do
this?

Any ideas would be extreamly appreciated!!!

Thanks

Seth


*







Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:12 AM
shumaker@cs.fsu.edu's Avatar shumaker@cs.fsu.edu
Guest
 
Posts: n/a
   
   
Re: creating a report from sql server data

  Donate Today!  
This is an example of how I create a report in an Access Data Project
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10390
that uses SQL server 2000 as back end, this is in the Report Open
event, and I think CountsCombined is a function or stored procedure. I
construct the string using user selected values in a custom form, and
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10390
then call up the report passing the string as a parameter. Then in the
reports on open event I get the paramter and set it to Me.RecordSource:

strRecordSource = "Exec CountsCombinedDescrNoSumChild '" &
Me![BeginDate] & "','" & Me![ChildCombo] & "','118'"

So basically you use the "Exec" keyword followed by the query name and
comma seperated list of parameters, each one in single quotes. I'm not
sure the details of if the query name has to be the name of an existing
SP, view, or function.

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Thought of the Moment!
Today 19:38 PM
106 Replies, 4,993 Views
Panjabi
Today 19:35 PM
10 Replies, 208 Views
BHOOTS (Ghosts) and...
Today 19:02 PM
94 Replies, 13,742 Views
Textbooks Terming Sikhs...
Today 18:52 PM
13 Replies, 166 Views
Do you believe in...
Today 18:52 PM
175 Replies, 3,607 Views
Map shows world's 'most...
Today 18:12 PM
14 Replies, 189 Views
Friends. A Testimony to...
Today 17:31 PM
3 Replies, 51 Views
Why are There so Many...
By Ishna
Today 17:28 PM
52 Replies, 4,852 Views
Nitnem Gutka - Gurmukhi...
By Ishna
Today 12:27 PM
15 Replies, 16,388 Views
Poetry Corner
Today 12:13 PM
83 Replies, 9,592 Views
Learn Punjabi Yourself...
Today 05:41 AM
15 Replies, 7,617 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 05:32 AM
167 Replies, 4,301 Views
The Great Imp Debate
Today 05:28 AM
32 Replies, 496 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 05:16 AM
299 Replies, 7,413 Views
Fresno Sikh Who Was...
Today 01:30 AM
0 Replies, 55 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 19:40 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.45510 seconds with 32 queries
0