Re: Problem with CommandText concatenation - Visual C++
- From: "Stephen Howe" <stephenPOINThoweATtns-globalPOINTcom>
- Date: Mon, 8 May 2006 14:03:48 +0100
string sCmd;[snip]
cmd->CommandText = sCmd;
Is this std::string? If so, try
cmd->CommandText = sCmd.c_str();
Stephen Howe
.
- References:
- Prev by Date: Re: Access Database is not accesable from VB 6.0
- Next by Date: Re: ADO 2.8 Command INSERT INTO with Date Parameter
- Previous by thread: Problem with CommandText concatenation - Visual C++
- Next by thread: ADO 2.8 Command INSERT INTO with Date Parameter
- Index(es):