Results 1 to 3 of 3

Thread: Ubound

  1. #1
    Nathan Masek Guest

    Default Ubound

    This is just a quick question:<BR>In an example out of my ASP book there is a line that says<BR><BR>intLastRow = UBound(avarfields, 1)<BR>Wehre intlastrow represents the ordinal of the last row in an array, and avarfields represents the array of fields (from objrs.getrows)<BR><BR>Anyway .... the question is does anyone know what Ubound does?<BR>Also, what is an ordinal value?<BR><BR>Any help would be greatly appreciated.<BR><BR>- Thanks<BR>- Nathan Masek

  2. #2
    Join Date
    Dec 1969

    Default RE: Ubound

    UBound is the size of your array.<BR>Ordinal value is the number used to access your array or recordset. For instance, to access a recordset using the ordinal value, you&#039d use rs(0), instead of rs("fieldname")...get it?

  3. #3
    Nathan Masek Guest

    Default RE: Ubound

    Got it.<BR><BR><BR><BR>Gooood.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts