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

ADO Control Problem

Status
Not open for further replies.

budbeth

Programmer
Oct 29, 2002
31
0
0
US
I'm trying to use the following to look up records.
I think my problem is the second RELATE - Loc TO Loc.
When I use only the first RELATE - Item_No TO Item_No I get too many records. I need to filter by the second RELATE but can't seem to get the syntax correct, no matter what I try...

SHAPE {SELECT Item_No, Loc FROM ADD_BIN Order by Item_No} AS ParentCMD APPEND ({SELECT item_no, loc, Bin_No,user_def_fld_1,user_def_fld_2,user_def_fld_3, user_def_fld_4 FROM IMINVBIN_SQL Order by Bin_No } AS ChildCMD RELATE Item_No TO Item_No, Loc TO Loc) AS ChildCMD

Thanx in Advance,

Beth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top