|
Index
¨Ø´à´è¹¢Í§â»Ãá¡ÃÁ»ÃÐàÀ·¡ÒèѴ¡Òðҹ¢éÍÁÙŤ×Í
¡ÒÃà¢éÒ¶Ö§¢éÍÁÙÅä´éÃÇ´àÃçÇâ´ÂªØ´â»Ãá¡ÃÁ foxPro
¨Ðµéͧ¡Ó˹´´Ñª¹Õ¡è͹ ´éǤÓÊÑè§
index on <expr>
to <idx file
name>
â´Â·Õè
- <expr> à»ç¹¹Ô¾¨¹ì«Öè§»ÃСͺ仴éÇÂ
ࢵ¢éÍÁÙÅࢵà´ÕÂÇ
ËÃ×Íà»ç¹¡ÒÃÃÇÁࢵ¢éÍÁÙÅËÅÒ æ ࢵ
â´Âãªéà¤Ã×èͧËÁÒ + 㹡ÒÃÃÇÁ
- <idx file name> à»ç¹ª×èÍä¿Åì·Õèµéͧ¡ÒõÑ駪×èÍãËé¡Ñºä¿Åì´Ñª¹Õ
«Ö觨ÐÁÕª¹Ô´¢Í§ä¿Åìà»ç¹ idx Íѵâ¹ÁѵÔ
àÁ×èÍãªé§Ò¹ ¨Ðµéͧà»Ô´¤Çº¤Ùè¡Ñºä¿Åì°Ò¹¢éÍÁÙÅ
ÊÁÁµÔÇèÒµÑ駪×èÍä¿Åì´Ñª¹Õà»ç¹ stdcode ÊÒÁÒöãªé¤ÓÊÑè§à»ç¹
index on code
to stdcode
㹡ÒÃãªé§Ò¹¹Ñé¹ ¨Ðµéͧà»Ô´ãªé§Ò¹¤Çº¤Ùè¡Ñºä¿Åì°Ò¹¢éÍÁÙÅ
àªè¹
use student
index stdcode
ËÃ×ÍÊÒÁÒöãªéÍÕ¡ÃٻẺ ¤×Í
use student
set index to
stdcode
|