ªð¦^¦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 : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD