PDA

View Full Version : MDE form: how did he do that?



hunsnowboard
02-20-2009, 09:29 AM
Hi Everyone!

I would like to create something very similar like the attached file...but I just can't figure out how did he do it. I am particularly interested about how was he able to change the form if you push a button? How can that be done? If anyone has an idea please let me know! Thank you in advance!

CreganTur
02-20-2009, 10:13 AM
Unfortunately, I cannot open this database because of an OLE error that occurs as a part of the startup form's OnOpen event.

Can you post screenshots that show what you're talking about? That might give us an idea of what you're wanting... otherwise you'll have to wait and see if anyone else can get it to work for them.

hunsnowboard
02-20-2009, 03:31 PM
Hi CregaTur! Thank you for your reply. The link of this file is here:
www.jerryhoaqua.com/download/aq.zip (http://www.jerryhoaqua.com/download/aq.zip)
But you can see some screenshots of the mde here as well:
http://www.databasedev.co.uk/user_interface_6.html

As you see, the whole program is a one window application. Based on which button is pressed (aquarium, diary, search) the form shows it. However the form remains the same. And that is what I am interested about? How did he do it? Thank you very much, and have a nice weekend all!

CreganTur
02-23-2009, 06:22 AM
They are subforms- the main area of the window is a subform control. He has it coded so that when you click a navigation button it loads the appropriate form into the subform control.

hunsnowboard
02-23-2009, 03:52 PM
Hi CreganTur! Thank you for your answer! I'll try to check more about this solution as so far I don't know how to load a subform with a button....:(