  | 
				VFP ·R¥ÎªÌªÀ°Ï ¥»°Q½×°Ï¬° Visual Foxpro ·R¥ÎªÌ¸gÅç¥æ¬yªº¦a¤è, ½Ð¦h¦h§Q¥Î"·j´M"ªº¥\¯à, ¥ý¬d¬Ý¬Ý¦³µL«e¨Ò¥i´`, ¦pªGÁÙ¦³¤£À´ªº¦Aµo°Ý. ³¡¥÷¥DÃD¦³ªþ¥[ÀÉ®×, ¶·¥ýµù¥U¦¨¬°ªÀ°Ï©~¥Á¤~¥i¥H¤U¸ü.   
				 | 
			 
		 
		 
	
		| ¤W¤@½g¥DÃD :: ¤U¤@½g¥DÃD   | 
	 
	
	
		| µoªí¤H | 
		¤º®e | 
	 
	
		Ruey
 
 
  µù¥U®É¶¡: 2003-03-12 ¤å³¹: 1698 ¨Ó¦Û: tunglo
  ²Ä 1 ¼Ó
  | 
		 | 
	 
	
		| ¦^³»ºÝ | 
		 | 
	 
	
		  | 
	 
	
		jakan9
 
 
  µù¥U®É¶¡: 2003-10-22 ¤å³¹: 130
 
  ²Ä 2 ¼Ó
  | 
		
			
				 µoªí©ó: ¬P´Á¤é ¤G¤ë 22, 2004 5:08 pm    ¤å³¹¥DÃD: ÀˬdÄæ¦ìÈ | 
				     | 
			 
			
				
  | 
			 
			
				| ¦pªGÄæ¦ìȕʦ³×§ï,ÁÙ¬O·|select ªº¨ì¥»µ§¸ê®Æ,»¡¸ê®Æ«ÂÐ,¨ä¹ê•ʦ³«ÂÐ,¸Ó¦p¦ó°µ,½Ð«ü¾É,thinks! | 
			 
		  | 
	 
	
		| ¦^³»ºÝ | 
		 | 
	 
	
		  | 
	 
	
		RORI
 
 
  µù¥U®É¶¡: 2003-10-09 ¤å³¹: 28 ¨Ó¦Û: Taipei
  ²Ä 3 ¼Ó
  | 
		
			
				 µoªí©ó: ¬P´Á¤é ¤G¤ë 22, 2004 11:33 pm    ¤å³¹¥DÃD:  | 
				     | 
			 
			
				
  | 
			 
			
				PUT A FLAG THISFORM.OPMODE
 
THISFORM.OPMODE   1.ADD 2.MODIFY 3 DEFAULT 4 DELETE ......
 
OPMODE=1 ----> CHECK | 
			 
		  | 
	 
	
		| ¦^³»ºÝ | 
		 | 
	 
	
		  | 
	 
	
		catjoke
 
 
  µù¥U®É¶¡: 2003-06-16 ¤å³¹: 175 ¨Ó¦Û: »´ä
  ²Ä 4 ¼Ó
  | 
		
			
				 µoªí©ó: ¬P´Á¤@ ¤G¤ë 23, 2004 2:29 pm    ¤å³¹¥DÃD:  | 
				     | 
			 
			
				
  | 
			 
			
				²Ä¤@Ó¤èªk¤£¬O¤£¥Î, ¦pªG¦P®É¶¡¦³5-10ӥήa·s¼W¸ê®Æ...
 
 
¤£©¯³Ì«áªº¤@Ó¦sÀÉ®É, ¤~¶¶µÛ¸õ¥X¬y¤ô¸¹, ¨¬¨¬Àˬd¤F10¦¸¤~¥i¥H¦sÀÉ...
 
§A·Q·Q³oÓ SELECT-SQL °{°Ê¤F10¦¸¤~§i¶D§A¦¨¥\¦sÀÉ, 
 
§A¦³¬Æ»ò·P¨ü!? «ÜºC, «Üªáµe±¦üªº! -_-"
 
 
¤èªk2¤¤ indexseek() ¬O·s¥\¯à¶Ü!? §Ú¥ÎªºVFP ª©¥» ¤Ó¤F.. (5.0)
 
¥u¬O¥t¶}¤@¦¸ table, ¨Ã search ¥¦¥X¨Ó... _________________ ØpØ{~ ¿ß·íµM¬O "T" ªº¹À! ^0^; | 
			 
		  | 
	 
	
		| ¦^³»ºÝ | 
		 | 
	 
	
		  | 
	 
	
		syntech
 
 
  µù¥U®É¶¡: 2003-05-16 ¤å³¹: 4252 ¨Ó¦Û: Taipei,Taiwan
  ²Ä 5 ¼Ó
  | 
		
			
				 µoªí©ó: ¬P´Á¤@ ¤G¤ë 23, 2004 5:10 pm    ¤å³¹¥DÃD:  | 
				     | 
			 
			
				
  | 
			 
			
				INDEXSEEK() VFP6.0¥H¤W¦³.
 
¥H¤U¬°HELP ¤º®e
 
 
Without moving the record pointer, searches an indexed table for the first occurrence of a record whose index key matches a specified expression.
 
 
Syntax
 
 
INDEXSEEK(eExpression [, lMovePointer [, nWorkArea | cTableAlias
 
  [, nIndexNumber | cIDXIndexFileName | cTagName]]])
 
 
Returns
 
 
Logical
 
 
Arguments
 
 
eExpression
 
 
Specifies the index key expression for which you want INDEXSEEK( ) to search.
 
 
lMovePointer
 
 
Specifies if the record pointer is moved to the matching record. If lMovePointer is true (.T.) and a matching record exists, the record pointer is moved to the matching record. If lMovePointer is true (.T.) and a matching record doesn't exist, the record pointer isn¡¦t moved. If lMovePointer is false (.F.) or is omitted, the record pointer isn't moved even if a matching record exists.
 
 
nWorkArea
 
 
Specifies the work area number of the table that is searched for the index key.
 
 
cTableAlias
 
 
Specifies the alias of the table that is searched. If you omit nWorkArea and cTableAlias, the table in the currently selected work area is searched.
 
 
nIndexNumber
 
 
Specifies the number of the index file or tag that is used to search for the index key. nIndexNumber refers to the index files as they are listed in USE or SET INDEX. Open .IDX files are numbered first in the order in which they appear in USE or SET INDEX. Tags in the structural .cdx file (if one exists) are then numbered in the order in which they were created. Finally, tags in any open independent .cdx files are numbered in the order in which they were created. For more information about index numbering, see SET ORDER.
 
 
cIDXIndexFileName
 
 
Specifies an .idx file that is used to search for the index key.
 
 
cTagName
 
 
Specifies a tag of a .cdx file that is used to search for the index key. The tag name can be from a structural .cdx file or any open independent .cdx file.
 
 
Note   The .idx file takes precedence if duplicate .idx file and tag names exist.
 
 
Remarks
 
 
INDEXSEEK( ) returns true (.T.) if a match is found; otherwise false (.F.) is returned. You can use INDEXSEEK( ) only with a table with an index order set, and you can search only for an index key. The match must be exact unless SET EXACT is set to OFF.
 
 
INDEXSEEK( ) provides a fast way to search for records without moving the record pointer. Because the record pointer isn't moved, rules and triggers aren't executed. If INDEXSEEK( ) returns true (.T.) indicating that a matching record is found, you can execute INDEXSEEK( ) again with the second parameter lMovePointer set to true (.T.) to move to the matching record. _________________ ¦pªG¤½¥q¦³¤U¦C§xÂZ:
 
1. §ä¤£¨ì«K©y,§Ö³t,²©öªº ¥Í²£±Æµ{³nÅé
 
2. ¤£ª¾¹D¦p¦ó§Ö³t±Æ©w ±ÄÁÊp¹º
 
3. ¦¨¥»§ì¤£·Ç,¦Û¤vºâ¤ñ³nÅéºâ¦³¥Î
 
4. ·Q¾Ç²ß¨t²Î³W¹º,·Q§ä¨t²Î¬[ºcªºÅU°Ý
 
 
½ÐÁpµ¸§ÚÌ,¤]³\§ÚÌÀ°±o¤W¦£ | 
			 
		  | 
	 
	
		| ¦^³»ºÝ | 
		 | 
	 
	
		  | 
	 
	
		catjoke
 
 
  µù¥U®É¶¡: 2003-06-16 ¤å³¹: 175 ¨Ó¦Û: »´ä
  ²Ä 6 ¼Ó
  | 
		
			
				 µoªí©ó: ¬P´Á¤@ ¤G¤ë 23, 2004 5:46 pm    ¤å³¹¥DÃD:  | 
				     | 
			 
			
				
  | 
			 
			
				ÁÂÁÂ!
 
 
¶V¨Ó¶Vı±o²{¤µªº µ{¦¡û©¯ºÖ!
 
e.g. ¥H«e¥Î¼g FCREATE(), FWRITE(), FPUTS(), FFLUSH(), FCLOSE() µ¥µ¥..
 
¤~¥i¥H§â¸ê®Æ¼g¨ìÀÉ®×¥h... ²{¦bÓý¤@¦æ: STRTOFILE()
 
 
INDEXSEEK() µL¶·¦h¶}¤@¦¸table ¤w¯à§ä¨ì¦³§_«ÂÐ, ¥XÂΪº¾÷·|¤j¤j´î¤Ö¤F.. _________________ ØpØ{~ ¿ß·íµM¬O "T" ªº¹À! ^0^; | 
			 
		  | 
	 
	
		| ¦^³»ºÝ | 
		 | 
	 
	
		  | 
	 
	
		an1060
 
 
  µù¥U®É¶¡: 2004-02-29 ¤å³¹: 48 ¨Ó¦Û: °ª¶¯
  ²Ä 7 ¼Ó
  | 
		
			
				 µoªí©ó: ¬P´Á¤G ¤T¤ë 02, 2004 9:02 am    ¤å³¹¥DÃD:  | 
				     | 
			 
			
				
  | 
			 
			
				¥ÎINDEXSEEK()¥u¯à®M¥Î¦b·s¼W¤@µ§¸ê®Æ,¦pªG¬O×§ï¸ê®Æ,¨º¥i´NµLªk§P§O¤F.
 
 
³Ì¨Î¤è¦¡¬O¦P¤@ÓÀÉ®×,¥Î¤£¦PªºALIAS¶}²Ä¤G¦¸
 
¥H¥Ø«eÈ(This.Value),¥ÎSEEK()¦b²Ä¤GÓALIAS¤W§ä´M,§ä¨ì¤F,¥un¬O¨âÓALIAS¤§RECNO()¤£¬Ûµ¥,¨ºÅK©w¬O¸ê®Æ«ÂÐ. | 
			 
		  | 
	 
	
		| ¦^³»ºÝ | 
		 | 
	 
	
		  | 
	 
	
		 | 
	 
 
  
  	 
	    
  	   | 
 	
±z µLªk ¦b³oÓª©±µoªí¤å³¹ ±z µLªk ¦b³oÓª©±¦^ÂФ峹 ±z µLªk ¦b³oÓª©±½s¿è¤å³¹ ±z µLªk ¦b³oÓª©±§R°£¤å³¹ ±z µLªk ¦b³oÓª©±¶i¦æ§ë²¼ ±z µLªk ¦b³oÓª©±ªþ¥[ÀÉ®× ±z µLªk ¦b³oÓª©±¤U¸üÀÉ®×
  | 
   
  
  
Powered by phpBB © 2001, 2005 phpBB Group ¥¿Å餤¤å»y¨t¥Ñ phpbb-tw ºûÅ@»s§@ 
		 |