compile error invalid use of property

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PoojaJyoti
    New Member
    • Mar 2007
    • 4

    compile error invalid use of property

    hi guys,
    I want to help for creating a GUI. I want I should get details when I click perticular name in listbox.I get entries from database to listbox but probrem arrives loading relevant details in textbox.The error describes compile error invalid use of property for following code.
    txtFirstName=rs tKrish!FirstNam e
    or
    txtFirstName.te xt=rstKrish!Fir stName
    where rstKrish is recordset and FirstName is datafield
    I have used ADO programming.
    Please help.
  • willakawill
    Top Contributor
    • Oct 2006
    • 1646

    #2
    Hi. Try this line instead:
    Code:
    txtFirstName.Text=rstKrish("FirstName")

    Comment

    • willakawill
      Top Contributor
      • Oct 2006
      • 1646

      #3
      Originally posted by willakawill
      Hi. Try this line instead:
      Code:
      txtFirstName.Text=rstKrish("FirstName")
      This thread now continued here

      Comment

      Working...