Field on subform won't update

P

Phill

I have a form with a subform (header/detail), the subform
is a datasheet (not a continous form). The main form has
a button that does a lookup and puts that value in one of
the subform's fields. The value displays fine but it is
not being written to the table. Here is my code:

strItemID = Me.fsubDetail!ITEM_ID_TO_SHP
Me.fsubDetail!txtBinLocation = GetAllBINsForPart(strItemID)

I've tried setting the focus to different controls and
used the Docmd.Runcommand AccmdSaveRecord, same results.
Does anyone have any ideas? Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top