I was happily opening a form from another in my code & setting its RecordSource, and everything was working fine.
All of a sudden, I'm getting error message 40036 telling me
Method 'item' of object 'Forms' failed.
the code is like:
DoCmd.RunMacro "open_indexer"
Forms!indexer.RecordSource="SELECT * FROM a_table;"
Like I say, this WAS working, but now I can't get it to work even after I've removed all of the code I put in since before it stopped working.
I'm utterly stumped!
Douglas. If it don't make you laugh, it ain't true.
All of a sudden, I'm getting error message 40036 telling me
Method 'item' of object 'Forms' failed.
the code is like:
DoCmd.RunMacro "open_indexer"
Forms!indexer.RecordSource="SELECT * FROM a_table;"
Like I say, this WAS working, but now I can't get it to work even after I've removed all of the code I put in since before it stopped working.
I'm utterly stumped!
Douglas. If it don't make you laugh, it ain't true.