Access 2003/SQL 2000
I'm writing some vba to create access forms on the fly, reading records from sql server to get details of controls to create.
Q1. I can handle the form size ok, but can I use vba to determine the size of the 'window' that the form is created in?
Q2. Say I create a command button on the form, can I programmatically define it's On Click event?
Thanks!
I'm writing some vba to create access forms on the fly, reading records from sql server to get details of controls to create.
Q1. I can handle the form size ok, but can I use vba to determine the size of the 'window' that the form is created in?
Q2. Say I create a command button on the form, can I programmatically define it's On Click event?
Thanks!