Author | Topic: image file saving in dbf | |
---|---|---|
eldhose | image file saving in dbf on Thu, 26 Jun 2008 13:10:22 +0530 hi all i saw sample program in xbase sample to restore image from dbf file and display (basics/animation) .but i dont understand how can store image (.bmp) in to dbf memmo field regards | |
James Loughner | Re: image file saving in dbf on Fri, 27 Jun 2008 12:05:42 -0400 First you must use FOX binary memo because dBase DBF memos are assumed to be text and put additional characters into the data notably ctrl-Z Second you load the image to a bitmap object then you can save the object to the binary memo field by first converting it to binary vi Var2bin() function. To recover the object use the Bin2var function. You can also store and recover arrays and other complex data the same way. Jim eldhose wrote: > hi all > > i saw sample program in xbase sample to restore image from dbf file and > display (basics/animation) .but i dont understand how can store image (.bmp) > in to dbf memmo field > > regards > > > > > > > > | |
eldhose | Re: image file saving in dbf on Mon, 30 Jun 2008 16:04:30 +0530 thanks james regards eldhose varghese "James Loughner" <jwrl@suddenlink.net> wrote in message news:3a8f5bdc$90c85cf$639e@news.alaska-software.com... > First you must use FOX binary memo because dBase DBF memos are assumed > to be text and put additional characters into the data notably ctrl-Z > > Second you load the image to a bitmap object then you can save the > object to the binary memo field by first converting it to binary vi > Var2bin() function. To recover the object use the Bin2var function. > > You can also store and recover arrays and other complex data the same way. > > Jim > > eldhose wrote: >> hi all >> >> i saw sample program in xbase sample to restore image from dbf file and >> display (basics/animation) .but i dont understand how can store image >> (.bmp) >> in to dbf memmo field >> >> regards >> >> >> >> >> >> >> >> |