I have written a flash code using fds in which i am trying to save the data 7pages(1024 each). I have defined array of record key and fie ID for it.The problem it saves for first time but then due to some pointer problem or something, it gets old data and overwrites in it. Here is the flash file.