Click here to Skip to main content
15,920,801 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Golden Rule in Programming... Pin
Anonymous1-Apr-05 21:07
Anonymous1-Apr-05 21:07 
GeneralRe: Golden Rule in Programming... Pin
Tareq Ahmed Siraj1-Apr-05 23:04
Tareq Ahmed Siraj1-Apr-05 23:04 
GeneralDisable chime sound in MFC Pin
skonopa1-Apr-05 11:01
skonopa1-Apr-05 11:01 
GeneralRe: Disable chime sound in MFC Pin
Michael Dunn1-Apr-05 16:43
sitebuilderMichael Dunn1-Apr-05 16:43 
GeneralRe: Disable chime sound in MFC Pin
skonopa4-Apr-05 3:29
skonopa4-Apr-05 3:29 
GeneralSubstituting in an if statement Pin
Cpt Rick1-Apr-05 9:24
Cpt Rick1-Apr-05 9:24 
GeneralRe: Substituting in an if statement Pin
Maximilien1-Apr-05 9:49
Maximilien1-Apr-05 9:49 
GeneralRe: Substituting in an if statement Pin
Cpt Rick1-Apr-05 10:07
Cpt Rick1-Apr-05 10:07 
I appreciate the input Max, but what I really need to do is replace what goes inside the "if" statement programmatically.

I don't know what the "if" statement will look like until after the user has chosen their options for what to look for in what fields, so I need to build that query string based on their input, and then have "if" evaluate it.

I can't figure out how to substitute what goes inside the ( ) of the "if" statement with something I put together in a string...

It could be a short one liner like above, or a long query with multiple OR's and ANDs. At runtime, the variable in the "if" statement needs to be replaced with the actual query string I built.

GeneralRe: Substituting in an if statement Pin
Blake Miller1-Apr-05 12:05
Blake Miller1-Apr-05 12:05 
GeneralRe: Substituting in an if statement Pin
Michael Dunn1-Apr-05 16:46
sitebuilderMichael Dunn1-Apr-05 16:46 
GeneralMemory Leaks Pin
Grahamfff1-Apr-05 9:16
Grahamfff1-Apr-05 9:16 
GeneralRe: Memory Leaks Pin
Alexander M.,1-Apr-05 9:54
Alexander M.,1-Apr-05 9:54 
GeneralRe: Memory Leaks Pin
Maximilien1-Apr-05 9:55
Maximilien1-Apr-05 9:55 
GeneralRe: Memory Leaks Pin
David Crow1-Apr-05 9:56
David Crow1-Apr-05 9:56 
GeneralC++ Help Pin
BRIMID1-Apr-05 8:34
BRIMID1-Apr-05 8:34 
GeneralRe: C++ Help Pin
Alexander M.,1-Apr-05 9:56
Alexander M.,1-Apr-05 9:56 
GeneralRe: C++ Help Pin
NewbieStats1-Apr-05 10:51
NewbieStats1-Apr-05 10:51 
GeneralRe: C++ Help Pin
namaskaaram3-Apr-05 23:50
namaskaaram3-Apr-05 23:50 
GeneralRe: C++ Help Pin
FlyingTinman4-Apr-05 12:57
FlyingTinman4-Apr-05 12:57 
GeneralClass with CRect / CPoint Variable Pin
Anonymous1-Apr-05 5:13
Anonymous1-Apr-05 5:13 
GeneralRe: Class with CRect / CPoint Variable Pin
Anonymous1-Apr-05 5:24
Anonymous1-Apr-05 5:24 
GeneralRe: Class with CRect / CPoint Variable Pin
David Crow1-Apr-05 5:29
David Crow1-Apr-05 5:29 
GeneralRe: Class with CRect / CPoint Variable Pin
poiut1-Apr-05 6:03
poiut1-Apr-05 6:03 
GeneralRe: Class with CRect / CPoint Variable Pin
David Crow1-Apr-05 6:14
David Crow1-Apr-05 6:14 
GeneralRe: Class with CRect / CPoint Variable Pin
Anonymous1-Apr-05 6:35
Anonymous1-Apr-05 6:35 

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.