Results 1 to 4 of 4

Thread: 2 easy questions please help

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2002
    Location
    England
    Posts
    23

    2 easy questions please help

    helllo

    1-
    why this messege appeared ?
    object dosn't support this method or property

    i use flexgrid with datacontrol :

    data1.datasource = "select * from aa"
    data1.refresh
    ===============================
    2-
    invalid use of null

    iam using

    Text1.Text = rs!name
    ==============================

    need ur help
    please give ur self 5 minutes to learn about Islam
    [vbcode] for x = 1 to 100000000000000
    print "islam is the good road for peace"
    next x [/vbcode]

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    1 - I think a DataSource must be a RecordSet object, or a DataEnvironment.

    2 - Try
    VB Code:
    1. Text1.Text = rs!name & ""

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    Addicted Member
    Join Date
    Jun 2002
    Location
    South West UK
    Posts
    245
    1) try

    dim rsDatasource as recordset
    set rsDatasorce = new Recordset

    data1.rsdatasource.open = "select * from aa"
    A lowly programmer.

    http://www.sentinalgroup.com

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Oct 2002
    Location
    England
    Posts
    23

    hello

    thanks crptcblade the 2nd question is good


    what about 1st question ???



    tanx again
    please give ur self 5 minutes to learn about Islam
    [vbcode] for x = 1 to 100000000000000
    print "islam is the good road for peace"
    next x [/vbcode]

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