Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I alter a field from memo to character?

Status
Not open for further replies.

Gwynne

MIS
Sep 20, 1999
19
0
0
US
I have a table (transactions) that has a memo field (trans) in it. I need to modify the memo field and make it a character field. I have tried ALTER TABLE and ALTER COLUMN, but the only thing VFP does is delete my field. Thanks for any help.
 
Hi!

Following commands work very well here:

create table aaa (aaa M)
alter table aaa alter column aaa C(35)

column aaa of table aaa changed from memo to character(35) after last command.

Hope this helped.



Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top