Oct 30, 2009 #1 EzLogic Programmer Aug 21, 2001 1,230 US i have a table, but, it has an IID autoinc value in it. sele myTable scatter name oName oName.IID exists now, but, i do not want it. what's the best way to drop it? Ali Koumaiha TeknoPCS Inc. Dearborn heights, MI 48127
i have a table, but, it has an IID autoinc value in it. sele myTable scatter name oName oName.IID exists now, but, i do not want it. what's the best way to drop it? Ali Koumaiha TeknoPCS Inc. Dearborn heights, MI 48127
Oct 30, 2009 #2 DSummZZZ Programmer Oct 24, 2000 4,250 US Try this: REMOVEPROPERTY(oName, 'IID') You can always add it later if you need it for reference: ADDPROPERTY(oName, 'IID') -Dave Summers- Even more Fox stuff at: http://www.davesummers.net/foxprolinks.htm Upvote 0 Downvote
Try this: REMOVEPROPERTY(oName, 'IID') You can always add it later if you need it for reference: ADDPROPERTY(oName, 'IID') -Dave Summers- Even more Fox stuff at: http://www.davesummers.net/foxprolinks.htm
Oct 30, 2009 #3 markros Programmer May 21, 2007 3,150 US If you have a default function in your database, then you can try oName.IID = NewID() && Custom function. Upvote 0 Downvote
If you have a default function in your database, then you can try oName.IID = NewID() && Custom function.
Oct 30, 2009 #4 Mike Lewis Programmer Jan 10, 2003 17,516 Scotland Another option: SET FIELDS TO <every field except the ID> SCATTER NAME ... etc. Mike __________________________________ Mike Lewis (Edinburgh, Scotland) Visual FoxPro tips, advice, training, consultancy Custom software for your business Upvote 0 Downvote
Another option: SET FIELDS TO <every field except the ID> SCATTER NAME ... etc. Mike __________________________________ Mike Lewis (Edinburgh, Scotland) Visual FoxPro tips, advice, training, consultancy Custom software for your business
Oct 30, 2009 #5 Mike Lewis Programmer Jan 10, 2003 17,516 Scotland Or, better still: SCATTER FIELDS EXCEPT ID NAME ... etc. Mike __________________________________ Mike Lewis (Edinburgh, Scotland) Visual FoxPro tips, advice, training, consultancy Custom software for your business Upvote 0 Downvote
Or, better still: SCATTER FIELDS EXCEPT ID NAME ... etc. Mike __________________________________ Mike Lewis (Edinburgh, Scotland) Visual FoxPro tips, advice, training, consultancy Custom software for your business
Oct 30, 2009 Thread starter #6 EzLogic Programmer Aug 21, 2001 1,230 US thanks guys! Ali Koumaiha TeknoPCS Inc. Dearborn heights, MI 48127 Upvote 0 Downvote