i have my SQL here...it works will so far...but there are instances that i
want to choose all of the values, would it be possible? i try using *
asterisk but it doesnt result as i wanted. hope this is clear now, sorry if
my english is not that good.
SELECT DCN01.[Drawing Ref], DCN01.Rev, DCN01.[Physical Prog], DCN01.[Sheet
No], DCN01.Index, DCN01.Description, DCN01.Discipline, DCN01.CWP, DCN01.[Drwg
Typ], DCN01.[Drawing Title], DCN01.Location, DCN01.[Rd Line], DCN01.AsBuilt,
DCN01.SubContractor
FROM DCN01
WHERE (((DCN01.[Drwg Typ])=[Enter Drawing Type1] Or (DCN01.[Drwg
Typ])=[Enter Drawing Type2] Or (DCN01.[Drwg Typ])=[Enter Drawing Type3] Or
(DCN01.[Drwg Typ])=[Enter Drawing Type4] Or (DCN01.[Drwg Typ])=[Enter Drawing
Type5] Or ((DCN01.[Drwg Typ])=[Entr Drawing Type6] Or (DCN01.[Drwg
Typ])=[Enter Drawing Type7] Or (DCN01.[Drwg Typ])=[Enter Drawing Type8] Or
(DCN01.[Drwg Typ])=[Enter Drawing Type9] Or (DCN01.[Drwg Typ])=[Enter Drawing
Type10]) Or ((DCN01.[Drwg Typ])=[Enter Drawing Type11] Or (DCN01.[Drwg
Typ])=[Enter Drawing Type12] Or (DCN01.[Drwg Typ])=[Enter Drawing Type13] Or
(DCN01.[Drwg Typ])=[Enter Drawing Type14] Or (DCN01.[Drwg Typ])=[Enter
Drawing Type15]) Or (DCN01.[Drwg Typ])=[Enter Drawing Type16] Or
((DCN01.[Drwg Typ])=[Enter Drawing Type17] Or (DCN01.[Drwg Typ])=[Enter
Drawing Type18] Or (DCN01.[Drwg Typ])=[Enter Drawing Type19] Or (DCN01.[Drwg
Typ])=[Enter Drawing Type20] Or (DCN01.[Drwg Typ])=[Enter Drawing Type21] Or
(DCN01.[Drwg Typ])=[Enter Drawing Type22])) AND
((DCN01.SubContractor)=[SubContractor?]));
thanks anyway
Dale Fye said:
This is not very clear. Why don't you describe what it is you are trying to
accomplish, and your table structure, and we can see what we can do.
Maybe even post your current SQL string, so we can analyze it.
--
HTH
Dale
Don''t forget to rate the post if it was helpful!
email address is invalid
Please reply to newsgroup only.
Denver said:
i have a parameter query with the following SQL
[Enter Drawing Type1] Or [Enter Drawing Type2] .......[Enter Drawing Type22].
what formula or value to enter to choose all the parameter value?is this
possible?
is there anyway i can make my SQL parameter value without doing like this
[Enter Drawing Type1] Or [Enter Drawing Type2] .......[Enter Drawing Type22]?
thanks for any help
denver