Welcome, Guest
  • Author Topic: recordset sent to flash  (Read 2098 times)

    skitzer

    • Jr. Programmer
    • **
    • Posts: 84
      • View Profile
    recordset sent to flash
    « on: 11/14/06, 12:22 »
    I don't know the best way to do this.  I want to load data from my database and be able to scroll through the records using buttons in my Flash form.  I don't think it is optimal to keep querying the database on every button click, but I'm not sure how to pass an entire recordset back to flash.  I am considering using a linked list.  Someone please give me some advice as to what's the best way to accomplish my task.  Thanks.

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: recordset sent to flash
    « Reply #1 on: 11/14/06, 15:15 »
    Hi Skitzer,
    how large are these recodsets?
    If it is rather low or medium sized blocks, you can transfer the data via XML.
    If you want to do it with advanced techniques, have a look into AMFPHP
    happy flashing
    8)
    Ronald

    skitzer

    • Jr. Programmer
    • **
    • Posts: 84
      • View Profile
    Re: recordset sent to flash
    « Reply #2 on: 11/16/06, 12:14 »
    Hey.
    I don't think they'll be anymore than 10 records........

    I'm using ASP to read/write to the database.  Isn't there a way to do it using that?

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: recordset sent to flash
    « Reply #3 on: 11/16/06, 13:28 »
    For a simple way, pass the entire recordset as name/value pairs, check http://www.flash-db.com/Tutorials/loading/

    Jorge