Results 1 to 4 of 4

Thread: I Need Help

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Location
    Tustin, CA
    Posts
    3

    I Need Help

    I'm trying to get the value of a global variable form a activeX control used in a datarepeater control. Basicaly when i click on a text box in the datarepeater control, I want to msgbox the global variable from the form.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: I Need Help

    What is a datarepeater control? Is this a VB.NET question?

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Location
    Tustin, CA
    Posts
    3

    Re: I Need Help

    This is in VB6. The DataRepeater control functions as a data-bound container of any user control you create. For example, imagine creating a user control that contains three TextBox controls, and a CheckBox control. This user control is designed to show one record of an employee database — displaying name, birth date, employee number, and marital status of the employee.

    After compiling the control into an .ocx, the DataRepeater control's RepeatedControlName property is set to the user control. The DataRepeater is then bound to a data source, such as the ADO Data Control, which sets up a connection between the user control and the employee database. At run time, the DataRepeater displays several instances of the user control—each in its own row, and each bound to a different record in the database. The result can resemble the figure below.

    Records Repeated in DataRepeater Control

  4. #4
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: I Need Help

    sounds like how access creates a "table view" form...(or sheet view? or..whatever)
    each "row" is its own set of textboxes, and connected to its own rown in the table
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

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