ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] VBA ¥Îªí®æ¤º¬YÄæ¦ì¸ê®Æ¬d¸ßACCESS¸ê®Æ

¥»©«³Ì«á¥Ñ alexliou ©ó 2012-5-12 06:29 ½s¿è
¦^´_  toxin alexliou µoªí©ó 2012-5-11 15:44

* ¥Nªí©Ò¦³ªºÄæ¦ì
§A¤w¸g¼g¤F­n¿ï¨ú­þ¨ÇÄæ¦ì  
©Ò¥H * ´N¤£»Ý­n¤F
­n§ï¦¨
SELECT  ¥ó¸¹ , ³æ»ù, ¼t°Ó FROM ³æ»ù©ú²Ó WHERE ¥ó¸¹  = '00002E-A'  ORDER BY 1 DESC
©Î¬O
SELECT * FROM ³æ»ù©ú²Ó WHERE ¥ó¸¹  = '00002E-A'  ORDER BY 1 DESC

PS.  ORDER BY 1 DESC ¦ü¥G¤]¤£»Ý­n
¦]¬°Where ±ø¥ó¤w«ü©w¥ó¸¹'00002E-A'
¬d¸ßµ²ªG¥u¦³¤@ºØ¥ó¸¹
´N¨S¦³±Æ§Çªº¥²­n¤F
Alex

TOP

¦^´_ 11# alexliou


   ¤F¸Ñ¤F
·PÁÂalexliou¤j¤j

TOP

0116.rar (16.98 KB) ¦^´_ 11# alexliou

½Ð°Ý¤@¤U
¦pªG¥ó¸¹«á­±ÁÙ¦³ªF¦è
°²³]
00002E-A 1
00002E-A 2
¦pªþ¥ó
³o¨âµ§¤]­n¤@°_Åã¥Üªº¸Ü
§Ú­ì¥»³]©wªº»yªk
strSQL = "SELECT TOP 10 ¥ó¸¹, ³æ»ù, ¼t°Ó FROM ³æ»ù©ú²Ó WHERE ¥ó¸¹ = '00002E-A' "
½Ð°Ý­n«ç»ò§ï?

TOP

        ÀR«ä¦Û¦b : µÊ®ð¼L¤Ú¤£¦n¡A¤ß¦a¦A¦n¤]¤£¯àºâ¬O¦n¤H¡C
ªð¦^¦Cªí ¤W¤@¥DÃD