Dictionary and Array Problems

Results 1 to 3 of 3

Thread: Dictionary and Array Problems

  1. #1
    Join Date
    Dec 1969
    Posts
    1,388

    Default Dictionary and Array Problems

    ResultKeys=JobSearch.Keys()<BR> ResultItems=JobSearch.Items()<BR> <BR> For i=0 to UBOUND(ResultKeys)<BR> Response.Write "<BR>&#060;B&#062;"&ResultKeys(i)&"&#060;/b&#062;: "&#039&ResultItems(i)<BR> Next<BR><BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    1,388

    Default RE: Dictionary and Array Problems

    Doh! - Wrong key - gives the following error:<BR>The object referenced by the application no longer points to a valid object. <BR><BR>Can anyone see anything wrong with it?

  3. #3
    e Guest

    Default RE: Dictionary and Array Problems

    Try this:<BR>lowCount = lbound(ResultKeys)<BR>highCount = ubound(Resultkeys)<BR><BR>For i = lowCount to highCount<BR>Response.Write "&#060;b&#062;"&ResultKeys(i)&"&#060;b&#062;: "&ResultItems(i)<BR>Next<BR><BR>hope this helps :)

Posting Permissions

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