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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: CMR
  • Content: Threads
  • Order by date
  1. CMR

    SQL Error in RELEASE mode only

    Hi all I'm executing a prepared SQL statement from within my code which is working quite happily in debug mode but fails in release mode. In my statement, I'm binding both columns and parameters then executing it repeatedly with different parameter values each time. This all work fine in debug...
  2. CMR

    Heap Error

    Hello all I'm writing a Console application that supports MFC. Basically, it scans through a text file and updates a datbase with the data in the file. Pretty simple stuff - but I have a strange problem which I can only assume is related to memory management. I'm getting a heap error when I try...
  3. CMR

    User breakpoint when using CMap

    Hello all I'm having a problem using CMap with a structure. I'm mapping an ID number (long) to a pointer to a structure I've created: struct myStruct { int prop1; blah blah blah.... }; CMap<long, long&, myStruct*, myStruct*> myMap; The problem occurs when I try to use SetAt() for the first...
  4. CMR

    Hello All Is there any way I can

    Hello All Is there any way I can divide a Crystal report vertically as well as horizontally? I Have a bunch of values which must be listed down the left of the page and various other bits of informtaion which must appear to the right (totals, etc). The values are set up in the report to be...
  5. CMR

    Image in a CHeaderCtrl

    Anyone know if I can replace the text in a CHeaderCtrl above a CListCtrl with an image? Thanks CMR
  6. CMR

    Subreports and data sources

    Hi all. I have a report which I designed in Crystal 8 while connecting to database A. I have an application which tries to run the report on Database B. The problem is, when I run the application against database B and try the report, it is still connecting to Database A, even though I've...
  7. CMR

    Subreport links

    Hello all I have a Crystal 8 report which contains a subreport. This subreport is linked to the main report by a single parameter. So far so good. My problem is this: because the report needs to run against several different versions of my database (Informix), I have to use the old method of...
  8. CMR

    Finding out when an application is closed

    I have an application that starts other applications using ShellExecute (it's a simple menu system). My question is: is there any way my menu app can know when the application it has executed is closed? thanks in advance CMR
  9. CMR

    CRPEngine::LogOnServer with Informix

    I have a buch of reports which access both Informix SE7 (running on NT)and Informix SE4 (running on UNIX). The reports are fine but I have a problem getting my application to log in using CRPEngine::LogOnServer(). it's ok when I connect to SE7, but SE4 running on UNIX just fails to log in. When...
  10. CMR

    Problem calling DLL functions when built in release mode

    I have a handful of MFC applications that connect to a database using ODBC (Informix, at the moment). The system I'm working on has it's own simple security system, the usernames and passwords are stored in the database and checked when the user logs in. Because I'm developing several small...
  11. CMR

    Icon in a CStatic control

    I'm trying to get an Icon to appear in a CStatic control but I'm damned if I can get it to work. I'm using VC++5 and all the help files tell me I can use ModifyStyle() to set the control to load an Icon but it doesn't seem to do anything. here's my code: m_cStatic.ModifyStyle(0, SS_ICON |...
  12. CMR

    Integer to Binary conversion

    Hi all. Is there any way I can convert an Integer to binary in CR 8.0? I'm using the field to store a bunch of flags and I must do a bit comparison to get at the individual flags. I can't find anything in the documentation and I'm beginning to think it's not possible. Can anyone prove me wrong...
  13. CMR

    Bit comparison

    Hi all... I'm using Crystal Reports 8 and I have an integer field which I'm reporting on. The field stores a bunch of flags which I can compare in my code by using binary bit maths (flag1 = value of bit1, flag2 = value of bit2 etc.) Is there any way I can do this in a crystal Formula? I've had...

Part and Inventory Search

Back
Top