Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    1

    Unanswered: Change row source type using VB

    I want to change the display control properties like row source type e.t.c of a access database using VB....How do I do it..???

    When I select the field.Properties.("Row Source") it comes up with properties not found.

    Help....

  2. #2
    Join Date
    Mar 2004
    Location
    www.scirocco.ca
    Posts
    346
    To make sure you have a certain property you can cycle through the properties list like this:

    Code:
            For iCounter = 0 To cnSCIROCCO.Properties.Count - 1
                If StrComp(cnSCIROCCO.Properties(iCounter).Name, "Row Source") = 0 Then
                    blnFound = True
                    Exit For
                End If
            Next iCounter
    http://www.scirocco.ca/images/banner...occobanner.gif

    Download for FREE the ADO/DAO Data Controls that makes life EASIER developing database applications in: VB, FoxPro, Access, VC++, .NET etc... Navigate, Add New, Delete, Update, Search, Undo and Save your changes. Supports Disconnected Recordsets and Transactions!

    Or try our Ask An Expert service to answer any of your questions!

Posting Permissions

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