Changing field type from General to Memo

Author: Man-wai Chang

Posted: 2014-10-12 at 08:31:02

According to http://fox.wikis.com/wc.dll?Wiki~VFPDataTypes

create table ttt ( f1 g )

append blank

append general f1 from temp.txt

use

ll = fopen("F:\ttt.dbf",12)

fseek(ll,43)

fwrite(ll,'M')

fclose(ll)

It didn't work. When I USE ttt and DISPLAY STRU, it's still a General field.

What's wrong with the sample codes?

--

.~. Might, Courage, Vision. SINCERITY!

/ v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3)

/( _ )\ http://sites.google.com/site/changmw

^ ^ May the Force and farces be with you!

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAGv=MJDSAA3chYv++5FE2vWeURzGBh_ZSLjEDZhgxumW_D2rLg@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 Man-wai Chang