Results 1 to 5 of 5

Thread: [RESOLVED] Bind data to ComboBox in Access form at Run Time ???

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    152

    Resolved [RESOLVED] Bind data to ComboBox in Access form at Run Time ???

    hi all,

    i have one from on which i have number of control i have one Combobox CustomerName on my form when user select "customername" the data related to that customer is display in all control now i have one more combobox on same form i want to bind the data to this 2 nd combobox how can i do this ??

    How can i write the binddata property of combobox through code at runtime ??

    suppose code is like this ....


    is this posible ???

    select pricecode from price where customerid = "& combobox1.value &"
    if rs.BOF = false And rs.EOF = false then
    while rs.EOF
    combobox2.additem(rs("pricecode "))
    wend
    Endif

    the code which i write is just an example, is this posible ?? How ??
    additem method is not present there ....

    pls help me regarding this ...
    Last edited by nileshhthakur2004; Mar 23rd, 2006 at 02:42 AM. Reason: Change Hedding of Thread
    Nilesh Thakur.

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