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...
I have a database that I want to re-create on another machine. I went to Enterprise Manager, right-clicked on the database, did a generate sql script and selected to script all objects. On the formatting tab I selected all the options except the one about only scripting 7.0 compatible...
I'm trying to use java web start, but it likes to go out and try and access any updates from Sun's site. Is there a way to point that to someplace on our network instead of Sun's site? Thanks.
I have 2 servers that both have SQL Server 2000 installed on them. Server1 is fine. Everything on Server2 points to Server1 including the database files, the service manager, and the registration. There is no local registration on Server2 and I can't seem to make one. How is this fixed? Is...
Does anyone know how this character is being inserted into the database? It's a FoxPro app tied to a MS SQL database backend. Here's the problem though. When I use the isnumeric function to see if it's numeric it returns a true. The len function also does not see it. But when I do a cast as...
No, it's an a0. I have some 0a's too. I've found that a0 is a "no break space" or an "underline space". How it's created or what it means I have no idea. When I look at that particular record through the application that created it everything looks normal. Anyway, now I'm just curious to...
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.