Results 1 to 3 of 3

Thread: Quick Question

  1. #1

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Quick Question

    I'm trying to display the current record number in a label but I get the following error. "Operation is not supported for this type of object". Below is the code i'm using and I can't figure out why i'm getting the error message. Any suggestions??

    Code:
    Label4(2).Caption = rsLastName.AbsolutePosition

  2. #2
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611
    Maybe
    VB Code:
    1. Label4(2).Caption = rsLastName.RecordNumber

  3. #3

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697
    Thanks. I figured it out. I need to have my table as a dynaset.

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