Results 1 to 2 of 2

Thread: Dynamic Control Creation

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    India
    Posts
    9

    Thumbs up Dynamic Control Creation

    can any one help me in solving my assignment

    For your understanding, My assignment is like this:

    One Active Document Named "Connect" will resemble below

    Database Name (Label) dname(TextBox)
    Table Name(Label) tname(TextBox)

    Connect(CommandButton)

    we choose dname and tname, we connect is clicked
    a database by named "Screen.mdb" should be accessed and a table by name "scr" should be accessed and fields by named "cname"(Control Name) and "ctype"(Control Type) should be accessed.

    Based on the above table, The Fields(based on the control type) should be displayed on the Activex Control hiding the dname,tname, connect controls.

    For Example :
    if the scr has the following contents

    cname ctype
    name TextBox
    age TextBox
    Sex CheckBox

    then two textboxes and one checkbox should be created on the activex document (hiding all other previous controls)

    In addition to the above controls one CommandButton by named "Save" should be created.

    In the Click event of the Save command button, all the data in the two textboxes and checkbox should be stored on to "out.mdb" in "data" table.

  2. #2
    Lively Member
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    115
    Exactly what is it that you need help with?
    I don't think you really can expect someone here to just make your assignment, and mail it to you...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width