I have 2 page footers. I want to suppress one until the last page. It works, but it leaves white space for the suppressed section. If I just suppress it unconditionally, it doesn't show the white space. I'm suppressing by going to section format and typing in the formula PageNumber <>...
Hi, I'm writing code to print. What I've managed so far is to use the PrintDlg function to allow a user to select a printer and print. Now what I want is to programmatically select the printer. I have the printer name. Can I get a PRINTDLG struct that corresponds to that name? If so, how...
Thanks, I didn't know about that file. Does the MS SQL Server client software have to be installed on the workstations? It is installed on mine, but not the others.
I'm using Crystal 8.5 and I'm calling reports from within my application. If I run the app on a machine without Crystal installed I get a 500 - "Invalid ODBC Handle" error. Here's what I want to do. I'm trying to connect through a "Microsoft SQL Server" connection thats listed under "More...
Ok so here's what I have so far. I found some sample code:
PRINTDLG pd;
DEVMODE dm;
.
.
dm = (DEVMODE)GlobalLock(pd.hDevMode);
That's the code that was shown. Only when I try it I get the following error: error C2440: 'type cast' : cannot convert from 'void *' to 'struct _devicemodeA'...
Boomerang is an open source decompiler. I wrote a .dll file and lost the source code and used Boomerang to decompile it. The code wasn't pretty after it was decompiled, but since I had written it I was able to glean some information from it that I had forgotten. Boomerang is an interesting...
Hi, I don't know anything about Windows programming but I need to show a print dialog and get the users selections. I'm using the PrintDlg function that takes a PRINTDLG struct as a parameter. When the PrintDlg function returns it will populate the PRINTDLG struct according to the user's...
I'm not sure what functionality you're talking about, but you now have 2 different versions of Crystal Reports (8.5 and CR for .NET). You can do things with your 8.5 reports but to get the full functionality listed in the .NET docs you have to use the .NET version. The .NET version is a newer...
I'm integrating Crystal Reports 8.5 into an application and I've got it to print, but it just prints to the default printer. Does anyone know how I would show the printer selection dialog and allow the user to select the printer. I'm using Visual C++ and calling methods found in Crystal's...
Sorry, both the where clauses should have a date range in them that's different. And the group_by in the subquery doesn't do anything except throw an error. But what I want is the sum of the quantity listed twice: each quantity is added up and filtered on a different date range for each stock...
I'm trying to create a query to find out the quantity sold of each of our products. The query takes two date ranges and should return the quantity sold totals for each of the date ranges. I'm trying to use a subquery but the way I'm writing it gives me errors. I understand why I get the...
I just want the schema. I've found that if I break apart the script file and run the pieces in the correct order, it works. What was happening is that the script was trying to make use of objects that weren't defined until the end of the script. I think it's pretty stupid. It should generate...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.