Results 1 to 2 of 2

Thread: Error 383 with ComboBox style 2 and linket to a Database

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Location
    Spain / Barcelona / Vilafranca del Penedès
    Posts
    20

    Unhappy

    Hi all,

    I have a problem and dont know how resolve it.

    Example, with a Data control linked to a database, and a ComboBox linked to a text field of this database, if the combobox is style 2 - Dropdown list when I call:

    Data1.Recordset.AddNew I get an VB error 383 Text is Readonly.

    Anyone knows how to solve it?

    Thanks in advance.

  2. #2
    Junior Member
    Join Date
    Mar 2000
    Location
    India, Visakhapatnam
    Posts
    19
    The Error is self explanatory the Combo box's text property is read only if its style is set to DropDown List. So you can't bind it to a Data control because the Data control uses the combo box's text property to display data.

    reply to
    <[email protected]>
    Dinesh
    reply to
    <[email protected]>

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