I have an Access database that was created in the 2003 version. It is being used by employees with 2003, 2007 and 2010 versions. On my invoice form I have created code to pop up a window to add a part number and description if the part is not in the underlying table. When the pop-up window closes, I want the invoice form to populate the part description field. In order for this to happen, I must recalc the form to update the recordset. I am using Forms!myFormName.Form.Recalc in the close event property on the pop-up to accomplish this. The code fires, but I am getting an error message stating I need 2 parameters. I have checked the proper syntax, and can't figure out what they could possibly looking for. This same code works perfectly in another database I have. I can move the location of the code to various events, and I always get the same error message. It does not matter which version of Access I'm using. I get the same error in each. Does anyone have a clue what I'm looking for?
Thanks!