This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why I can�t create new rocords ?

 
Marcio Aun Migueis
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !

I�m trying to create a few records for test with the following code



But nothing happens. No erros, no new records.

Could someone help me please ?

Thanks,

M�rcio
 
Seb Mathe
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems correct...

Are you sure that you're not creating a new file at another place ? Is FILE_NAME an absolute path ?
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does this do:?


Is that intended - allocate an array and then immediately throw it away?
 
Marcio Aun Migueis
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Barry

I corrected the code and I forgot to correct the post. Ths problem is solved. I had to append spaces at the end of each field before write the getByte() method.

Thanks for all

M�rcio
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic