I have an Access Web Database (generated by Sharepoint) with an Assets table. I have a link my Assets DataSheet that opens a form for Maintenance, but not bound to the table. The form has 3 fields, Type (a combo based on the MaintType table), Details, a textbox, and a hidden field, AssetID (to be populated by the Asset who'd link the user clicked).
Also, in this form, I have a subform, with a datasheet view of the Maintenance table.
1st) I would like the subform to be filtered, based on the value in the AssetID field. How can I bind that way?
2nd) In this Maintenance form, I have a 'Save Record' button. When clicked, I want it to take the values from the 3 fields, and create a new Maintenance record. I have a NamedMacro on the Maintenance table that creates a new record, but it doesn't seem to like the value coming from the combo box.
I've tried googling, perhaps I'm not searching for the correct terms.