Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sgk17

  1. sgk17

    Suppressing Sections

    Yes, and it still kept the white space.
  2. sgk17

    Suppressing Sections

    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 <>...
  3. sgk17

    Get PRINTDLG struct by printer name

    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...
  4. sgk17

    Data access on a machine where Crystal is not installed

    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.
  5. sgk17

    Data access on a machine where Crystal is not installed

    No, the SQL Server client software isn't installed on the workstations. Is it required? And I tried copying the p2ssql.dll and it doesn't work either.
  6. sgk17

    Data access on a machine where Crystal is not installed

    In other words, Does the data source option "Microsoft SQL Server" use the p2sodbc.dll or a different .dll file?
  7. sgk17

    Data access on a machine where Crystal is not installed

    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...
  8. sgk17

    Initialize DEVMODE struct

    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'...
  9. sgk17

    c++ decompiler?

    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...
  10. sgk17

    Initialize DEVMODE struct

    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...
  11. sgk17

    V.S. Net 2003 and Crystal 8.5 Question

    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...
  12. sgk17

    Showing the printer selection dialog box

    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...
  13. sgk17

    Using subqueries to select 2 different sums

    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...
  14. sgk17

    Using subqueries to select 2 different sums

    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...
  15. sgk17

    Auto-generated script gives errors

    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...

Part and Inventory Search

Back
Top