Hi all,
I have a form for which I change the data source on the fly using command buttons. One of the fields on the form is named [company] which unsurprisingly contains a company name.
The original data source for the form is a table ([tblContactInformation]). The command buttons change this to various queries, one of which is named qryRhinosPlayerSponsors2002. The queries restrict the number of records shown to a particular set as you would expect.
I have a line in both the form's unload and close events which changes the data source back to [tblContactInformation] as well as a command button which I can use to do the same thing on the fly.
Recently, on opening the form I am given an 'enter parameter value' box requesting qryRhinosPlayerSponsors2002.Company for no apparent reason. This field does not appear in the form field list in design view and is not referenced anywhere else. So why is this happening? I'm stumped.
Thanks in advance, Iain
Robbo ;-)
I have a form for which I change the data source on the fly using command buttons. One of the fields on the form is named [company] which unsurprisingly contains a company name.
The original data source for the form is a table ([tblContactInformation]). The command buttons change this to various queries, one of which is named qryRhinosPlayerSponsors2002. The queries restrict the number of records shown to a particular set as you would expect.
I have a line in both the form's unload and close events which changes the data source back to [tblContactInformation] as well as a command button which I can use to do the same thing on the fly.
Recently, on opening the form I am given an 'enter parameter value' box requesting qryRhinosPlayerSponsors2002.Company for no apparent reason. This field does not appear in the form field list in design view and is not referenced anywhere else. So why is this happening? I'm stumped.
Thanks in advance, Iain
Robbo ;-)