Click here to Skip to main content
15,887,368 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Combo Box and Edit Box Pin
monrobot1317-May-04 16:18
monrobot1317-May-04 16:18 
GeneralRe: Combo Box and Edit Box Pin
Eversman17-May-04 16:22
Eversman17-May-04 16:22 
QuestionVirtual MIDI Ports/Drivers ? Pin
mikemilano17-May-04 12:57
mikemilano17-May-04 12:57 
AnswerRe: Virtual MIDI Ports/Drivers ? Pin
Jim A. Johnson17-May-04 13:17
Jim A. Johnson17-May-04 13:17 
GeneralRe: Virtual MIDI Ports/Drivers ? Pin
mikemilano17-May-04 14:22
mikemilano17-May-04 14:22 
Generalmemory and CPU related question Pin
ben217-May-04 12:27
ben217-May-04 12:27 
GeneralRe: memory and CPU related question Pin
alex.barylski17-May-04 13:51
alex.barylski17-May-04 13:51 
QuestionI cannot SELECT RECORD by CRecordset ? Pin
_skidrow_vn_17-May-04 11:06
_skidrow_vn_17-May-04 11:06 
I want to get a record from MyTable which GroupID=3 AND account='abc' AND usename='tom'" but it alway ERROR "Too few parameters"

<br />
CMyRecordSet is;<br />
str.Format("GroupID=%d AND account=\'%s\' AND usename=\'%s\'"<br />
	,iGroupID<br />
	,theApp.m_strAccount<br />
	,theApp.m_strUsername);<br />
<br />
is.m_strFilter=str;<br />
is.Open();

Mad | :mad: Mad | :mad: Mad | :mad: Mad | :mad:

Too few parameters. Expected 1. <= ERROR Eek! | :eek:

help me D'Oh! | :doh:

I think I do not do anything wrong in this SQL
it similars with

is.Open(AFX_DB_USE_DEFAULT_TYPE,"SELECT * FROM MyTable WHERE GroupID=3 AND account='abc' AND usename='tom'");

both ERROR Cry | :(( Cry | :(( Cry | :((
GeneralDisabling the OnOK in CDialog Pin
pie17-May-04 10:28
pie17-May-04 10:28 
GeneralRe: Disabling the OnOK in CDialog Pin
David Crow17-May-04 10:49
David Crow17-May-04 10:49 
GeneralRe: Disabling the OnOK in CDialog Pin
pie17-May-04 11:04
pie17-May-04 11:04 
GeneralRe: Disabling the OnOK in CDialog Pin
David Crow18-May-04 2:12
David Crow18-May-04 2:12 
GeneralRe: Disabling the OnOK in CDialog Pin
vladfein17-May-04 10:51
vladfein17-May-04 10:51 
GeneralEncrypting and Decrypting Pin
gordingin17-May-04 10:20
gordingin17-May-04 10:20 
GeneralRe: Encrypting and Decrypting Pin
Graham Bradshaw17-May-04 10:31
Graham Bradshaw17-May-04 10:31 
GeneralRe: Encrypting and Decrypting Pin
gordingin17-May-04 10:45
gordingin17-May-04 10:45 
GeneralRe: Encrypting and Decrypting Pin
Mike Dimmick17-May-04 12:44
Mike Dimmick17-May-04 12:44 
GeneralLinux Programming Pin
Rafael Fernández López17-May-04 9:32
Rafael Fernández López17-May-04 9:32 
GeneralRe: Linux Programming Pin
Paul Ranson17-May-04 11:58
Paul Ranson17-May-04 11:58 
GeneralRe: Linux Programming Pin
Rafael Fernández López17-May-04 12:10
Rafael Fernández López17-May-04 12:10 
GeneralMultithreaded Serial Classes in MFC Pin
jhorstkamp17-May-04 9:17
jhorstkamp17-May-04 9:17 
Generalcreat input and out for this code Pin
Anonymous17-May-04 8:45
Anonymous17-May-04 8:45 
GeneralRe: creat input and out for this code Pin
Christian Graus17-May-04 13:15
protectorChristian Graus17-May-04 13:15 
Questionhow to use GetWindowsDirectory Pin
vividtang17-May-04 8:07
vividtang17-May-04 8:07 
AnswerRe: how to use GetWindowsDirectory Pin
David Crow17-May-04 10:05
David Crow17-May-04 10:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.