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

update help conditional query

Status
Not open for further replies.

AstroTek

Programmer
Apr 27, 2004
21
US
the variable condition are:
bpentid= x
bproleid=y
prodbrnd=z
parentbilling=a
billing=b
X,y,z and b are on the same table
A is on the another table
each table has a primary code generated by access
If y=mb
x+y+z=b or x and b
if y=wh
x+y+z=a
if y=DI
x+y+z=a

A has to be looked up on a table to find b
each field
x is an eight digit number
y is a two digit alpha
z is a two digit alpha
b is an eight digit number
A is an eight digit number
I am trying to put the conditions into one two or three queries
 

Your multiple posts are confusing.[hammer]

Post1
and
Post2
and
Post3

Please, Please, Please, post only to one message so that we may follow your progress or questions.


 
you may understand how I feel about this assignment
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top