473,804 Members | 3,225 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Maybe what I want to do isn't possible...

I've searched the forums, but haven't come up with a way to do this. This is
what I want to do:

1. Pull records from an Oracle database into a datagrid on a winform.
2. Select one of those records, and then have a button on the winform
generate a document (a letter that is 4 pages in length, and includes text,
and tables).
3. After, or during the generation of the letter, save a copy of the letter
off someplace on a server.

This is what I've done (all in C# by the way):

1. Pull records from an oracle database into a dataset that fills a datagrid
on a winform.
2. There is a button on the form that generates a letter using a Crystal
Reports file converted to a web service. I'm using the version of Crystal
Reports embedded into VS.NET 2003 Pro.

For those who don't know, Crystal Reports allows you to create a document
fed from a datasource (databse, XML file, etc.). The limitation of Crystal
is its cludgy integration with databases. It doesn't keep database login
information reliably, so you sometimes have to supply login info after
launching the form.

My limitation is that I cannot buy a third-party product (Aspose, Data
Dynamics, etc) because of budgetary constraints.

Suggestions are greatly appreciated. I'm at wits end, here.
Jul 21 '05 #1
1 1364
why not use ADO.net, DataSet to create your crystal report, it will save
your user name and password in code.

http://support.crystaldecisions.com/...etdatasets.pdf
Tony

"campwes" <ca*****@discus sions.microsoft .com> wrote in message
news:D4******** *************** ***********@mic rosoft.com...
I've searched the forums, but haven't come up with a way to do this. This is what I want to do:

1. Pull records from an Oracle database into a datagrid on a winform.
2. Select one of those records, and then have a button on the winform
generate a document (a letter that is 4 pages in length, and includes text, and tables).
3. After, or during the generation of the letter, save a copy of the letter off someplace on a server.

This is what I've done (all in C# by the way):

1. Pull records from an oracle database into a dataset that fills a datagrid on a winform.
2. There is a button on the form that generates a letter using a Crystal
Reports file converted to a web service. I'm using the version of Crystal
Reports embedded into VS.NET 2003 Pro.

For those who don't know, Crystal Reports allows you to create a document
fed from a datasource (databse, XML file, etc.). The limitation of Crystal is its cludgy integration with databases. It doesn't keep database login
information reliably, so you sometimes have to supply login info after
launching the form.

My limitation is that I cannot buy a third-party product (Aspose, Data
Dynamics, etc) because of budgetary constraints.

Suggestions are greatly appreciated. I'm at wits end, here.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2031
by: Brian Kelley | last post by:
I have been using gettext and various utilities to provide internationalization for a wxPython application and have not really been liking the process. Essentially it uses a macro-style notation to indicate which strings should be internationalized. Essentially, everything looks like this _("STRING") A good description of this system is located here http://wiki.wxpython.org/index.cgi/Internationalization
11
1638
by: Ville Vainio | last post by:
It might just be that @decorator might not be all that bad. When you look at code that uses it it's not that ugly after all. A lot of the furor about this is probably because it happened so quicly. The situation might have been different if we had seen a pronouncement a week before, in the vein of "I have chosen this syntax - it will go in to the next alpha". My chief worry was throwing away one of the few unused ascii symbols, but if...
3
1402
by: Dave Smithz | last post by:
Hi There, I want to rewrite an application I originally wrote in VB and because of annoying limitations that are not worth taking time to code around. But what language do I use? The application is intended to be a mass market application so I want it to have wide appeal. In summary my criteria is as follows: * I want it to be as compatible as possible (as in Windows 98 etc.). Even
9
3081
by: Colin McGuire | last post by:
Hi, I have an report in Microsoft Access and it displays everything in the table. One column called "DECISION" in the table has either 1,2, or 3 in it. On my report it displays 1, 2, or 3. I want to appear in the report is Yes, No, or Maybe. What do I need to do to change what appears in the report/what term do I need to search out in Google? Thank you Colin
1
232
by: campwes | last post by:
I've searched the forums, but haven't come up with a way to do this. This is what I want to do: 1. Pull records from an Oracle database into a datagrid on a winform. 2. Select one of those records, and then have a button on the winform generate a document (a letter that is 4 pages in length, and includes text, and tables). 3. After, or during the generation of the letter, save a copy of the letter off someplace on a server.
7
1991
by: multicherry | last post by:
Hi, Having searched for a way to fetch a window object by name, all I came across were answers along the line of... "All you have to do is say windowObj = window.open("blah", "name");" which isn't very useful if you want to fetch information from an existing document in the window. One solution I came up with was quite simple; open the "new" window, giving you a reference to the object, then use window.history.back() to
9
1688
by: James Crosswell | last post by:
I'm not sure if I'm going about this the right way - it may be that Generics might be able to help me out here... but here goes: I have three classes as follows class BaseEdit class WidgetEdit: BaseEdit class FooEdit: BaseEdit These are all acutally Windows Forms and BaseEdit is an abstract class (and so never gets instantiated). I'd like to define a method in
24
2294
by: dmitrey | last post by:
Hi all, I looked to the PEPs & didn't find a proposition to remove brackets & commas for to make Python func call syntax caml- or tcl- like: instead of result = myfun(param1, myfun2(param5, param8), param3) just make possible using result = myfun param1 (myfun2 param5 param8) param3 it would reduce length of code lines and make them more readable, + no needs to write annoing charecters.
2
1065
by: dude | last post by:
Working on Windows XP Say I have a Windows executable, foo.exe. foo.exe is a command line tool that can take a number of different arguments and perform corresponding actions. I want to invoke foo.exe from a Python script (using whatever will work best). I want to continuously pass arguments to foo.exe in between doing other stuff from within my Python script. Some pseudo code:
0
9588
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7625
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4302
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3828
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.