There is a lot of explanation because I would like help with a solution sense my current method is probably not possible.
I have a form that contains a grid control with fields from 2 tables
tblItem
ItemID (Primary Key)
ItemDescription
ItemLocation (this is actually several fields, simplified to one for this example)
etc.
AND
tblInventoryItem
InvnItemID (auto number Primary key, needed a unique field for key, not used for anything)
InventoryID (used to filter items for the desired inventory)
InvnItemID (w/ relation to ItemTable.ItemID)
ItemCount
etc.
| Edit: The first "InvnItemID" I meant "InvnItemAutoID" |
The SQL command is as follows (tblFilter is self explanatory... i hope)
Code: Select all
SELECT "tblInventoryItem".*, "tblItem".* FROM "tblInventoryItem", "tblItem", "tblFilter" WHERE "tblInventoryItem"."InvnItmID" = "tblItem"."ItemID" AND "tblInventoryItem"."InventoryID" = "tblFilter"."fltrInt" AND "tblFilter"."fltrID" = 'filter' ORDER BY "tblItem"."ItemLocation" ASC
Can this grid control be directly modified?
my guess is no because all my attempts have failed thus far
if anyone has a suggestion on how to make this work or an alternate method of at least filtering and sorting my "tblInventoryItem" by criteria from "tblItem" and be able to modify the count field
I feel i may have left out some essential information for readers. let me know and I'll do my best to clarify my needs