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

Record Selection Help

Status
Not open for further replies.

excalibur78

IS-IT--Management
Jan 3, 2001
66
US
I can't seem to get this record selection to evaluate both things. It only seems to evalutae the top line and not use the or.

({Store Wiring.Finished} = &quot;False&quot; and {Store Wiring.Current Status} <> &quot;Green&quot;)
or
({Store Wiring.Finished} = &quot;False&quot; and {Store Wiring.Opening Status} <> &quot;Green&quot;)

Any help would be great. Thanks ahead of time.


David
 
You can simplify the formual, i.e.
{Store Wiring.Finished} = &quot;False&quot; and
({Store Wiring.Current Status} <> &quot;Green&quot; or
{Store Wiring.Opening Status} <> &quot;Green&quot;)

But the first thing you should try is commenting out the first test and the 'or' using //. See if it is the second command itself that is failing, rather than the logic

Madawc Williams
East Anglia, Great Britain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top