jscript/ASP problem?

Discussion in 'Digital Media' started by butchtroll, May 30, 2008.

  1. butchtroll Not Active

    butchtroll
    Joined:
    May 29, 2008
    Messages:
    2
    Likes Received:
    0
    It would seem that a statement such as:

    TestVal = RecordSet.Fields("Data")

    will bind the variable to the column rather than just assigning the current value. Is this correct and if so how do I assign a value from a database?
    C'mon guys! I am trying to itterate through a recordset and compare the previous value to the current value, but my "Test" value updates to the current value when I move to a new record. I want to set my "Test" value change records then compare the test value to the new value.
    .....(drumroll) And the answer is...
    variable=RS.Fields("Data") binds the variable to the column.

    variable=RS.Fields("Data").value assigns the current value to the variable.

    actually a powerful tool, and now I have another problem! aaah the life of a coder!
  2. Similar Threads: jscript/ASP problem
    Forum Title Date
    Digital Media Rewriting my VB/ASP site to Jscript/ASP? May 29, 2008
    Digital Media ASP.Net ==> Quesry String Problem? Jun 2, 2008
    Digital Media Problems with 3ds GMAX? May 5, 2008
    Digital Media hello friends i've a problem with jQuery ajax call? Apr 19, 2008
    Digital Media Light Saber Effects Problems in After Effects with Preset from VideoCopilot.net? Mar 15, 2008
    Digital Media after effects lightning problem!!? Mar 15, 2008
    Digital Media after effects lightning problem!!? Mar 15, 2008
    Digital Media AJAX problem : ajax script is not calling server methods when page is... Mar 12, 2008

  3. loveumaryii Not Active

    loveumaryii
    Joined:
    May 26, 2008
    Messages:
    12
    Likes Received:
    0

Share This Page