Re: Baffled by bug (?) in SqlCeCommand:



"Ginny Caughey MVP" <ginny.caughey.online@xxxxxxxxxxxxxx> wrote in
news:8D995E95-5DA4-4507-94B5-9C1FA7D28EEF@xxxxxxxxxxxxx:

Matt,

Have you tried clearing the parmaters to the command, then adding back
the paramter for the new date?

Ginny

Sounded promising, I tried it and it didn't fix.

What did work was toggling the connection for the cmd object:

_sqlcmdGetDTitlesAndNewByTargetDate.Connection = null;
_sqlcmdGetDTitlesAndNewByTargetDate.Connection = _sqlConn;

I've put this at the end of the save-new-entry routine and it fixes the
bug. Ugly, but it works.

Thanks for the suggestion. Set me on the right track and at least let me
know I wasn't missing something obvious (I'm new to SqlCE).

Matt


<snip me explaining the bizarre ignore-WHERE-clause scenario>
.



Relevant Pages

  • Wolfpack 4.3.16 Server Release
    ... Fix work command not to spend more mobility than requested, ... Don't permit bombing of embarked planes and land units. ... Fix bomb not to let you bomb dead ships and land units. ...
    (rec.games.empire)
  • Wolfpack 4.3.11 Server Release
    ... We are happy to announce that Empire 4.3.11 is now available. ... Rewrite the client's code to read server output during login. ... Fix xdump not to deny access to game state tables when maximum ... Fix bug in path command that made it swallow every other step. ...
    (rec.games.empire)
  • Wolfpack 4.3.0 Server Release
    ... customizable unit tables, xdump (a new ... information on game configuration and a more useful country command. ... HIDDEN limits status information like for the country command. ... Fix justification of coordinate output in cutoff and mission. ...
    (rec.games.empire)
  • Wolfpack 4.2.22 Server Release
    ... We are happy to announce that Empire 4.2.22 is now available. ... * Don't let embarked land units fire flak. ... * Fix display of the last connection's host when the host name was ... * Fix fly to let the player abort the command at the last prompt. ...
    (rec.games.empire)
  • Re: Cannot install updates - no error code
    ... Now when I run dial-a-fix it hangs at the registration center at ... But when I run dial-a fix again it continues to hang at this dll ... I am thinking of starting in safe mode as the instructions under the ... Now that you have a command prompt open, ...
    (microsoft.public.windowsupdate)

Loading