Function Problems

Results 1 to 2 of 2

Thread: Function Problems

  1. #1
    Join Date
    Dec 1969

    Default Function Problems

    Ok, I have a couple of functions included in my asp, and they all seem to work fine, except for this one. It only likes to be ran once, then anyother time I run it, it gives me errors<BR><BR>Can anyone please help me?<BR><BR>Thanks<BR><BR>Function:<BR>&#039Display s Members NickName<BR>Function MemberNick(mid)<BR> Set Nick = MyConn.Execute("SELECT * FROM Members WHERE mid = " & mid)<BR> MemberNick = chkstr(Nick("mnick"),0)<BR> Nick.Close<BR> Set Nick = Nothing<BR>End Function

  2. #2 Guest

    Default RE: Function Problems

    Ok! Whats the error.<BR><BR>My guess would be that between the first call to the function and the next call, you have closed the connection.

Posting Permissions

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