Full Version: Tetris In Access
UtterAccess Discussion Forums > Microsoft® Access > Interface Design
mtn
First I am truly sorry if this is not the right thread to ask this question.
I found this game: TETRIS on the net (can't remeber where precisely) and I am so much in love with it. I play it everyday from my desktop.
I have tried to incoporate it into my database as a subform inside my main form when it opens but it doesn't work. It works perfectly on its own but all my forms in my database opens as a subform except for the main form. Does anyone know how I can achieve this?

Thanks.
ToddW
What exactly do you mean by "it doesn't work"?
mtn
Thanks for trying to help.
I have tried to debug the error and change all the me.setfocus to Forms!frmMainmenu.setfocus without any luck.

The error message is:

Run-time error'2449'
There is an invalid method in an expression.

You get the error when you open frmMainMenu but when you open the tetris form on its own, everything works fine.
ToddW
I started to take a look - if you're still interested enough and patient enough to wait for me to get around to it...

I know you said you found this on the internet somewhere, but I'm just wondering- are you a vba programmer wanting to know why the code won't work when it's a subform, or are you just hoping to get it fixed by a vba programmer? Because I believe it would take some understanding of vba, and adding some debugging code, to figure out what the problem is.

added:
I sure don't like the way the code is set up. Not very efficient in terms of processing time.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.