View Single Post
  #4 (permalink)  
Old July 12th, 2005, 11:48 PM
Raghavendra_Mudugal Raghavendra_Mudugal is offline
Friend of Wrox
Points: 687, Level: 9
Points: 687, Level: 9 Points: 687, Level: 9 Points: 687, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2004
Location: Chennai, Tamilnadu, India.
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Astro

Check this link
http://in.geocities.com/raghavendra_mudugal/db2.zip

Unzip this file, it contains a access2003 version
database. It contains two forms. when you open the
Form1 and when you click the command button, it opens
the Form2 and adds the Textboxs at the runtime (dynamically).

The code which i sent you previously it works with
VisualBasic not with the VBA. Here the syntax are bit
different.

I guess you needed this help with using VBA. In the above
code given by you to implement in the command2_click
event, i guess you want it in the MS-Access forms.

Open the form in the design view and check the onclick
event of that button. There you can see the code of
adding the controls and opening the form.

Hope this helps.

With Regards,
Raghavendra Mudugal
Reply With Quote