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

¸ê®Æ®w«ü¥O¸ß°Ý

¸ê®Æ®w«ü¥O¸ß°Ý

¦³¤@¸ê®Æ®wXXX.MDB¤º¦³a,b,c,d,e,f,g..µ¥¸ê®Æªí.
¦p¦ó¥ÎÅܼƹF¦¨¸ê®Æªí¿ï¥Î,¨Ò¦p:
rs.Open "Select * from  a where Time between " + Chr(35) + Str(DTP1.Value) + Chr(35) + " And " + Chr(35) + Str(DTP2.Value) + Chr(35), Cnn, adOpenDynamic, adLockOptimistic
¬[³]§ÚªºÅܼƬOTT,§Ú§â»yªk§ï¬°¦p¤U,¦ýµLªk°õ¦æ...
dim tt as string
TT=a
rs.Open "Select * from  TT where Time between " + Chr(35) + Str(DTP1.Value) + Chr(35) + " And " + Chr(35) + Str(DTP2.Value) + Chr(35), Cnn, adOpenDynamic, adLockOptimistic

¦]¬°¦³«Ü¦h¸ê®Æªí»Ý­n¥Î¨ìÅܼƨӳB²z,¨D°ª¤âÀ°¦£«üÂI.
chda

§Aªº TT ¥Î¤Þ¸¹¬A°_¨Ó¤F¡AÅܦ¨¤å¦r¡A¤£¬OÅܼÆ
rs.Open "Select * from " & TT & " where Time between " + Chr(35) + Str(DTP1.Value) + Chr(35) + " And " + Chr(35) + Str(DTP2.Value) + Chr(35), Cnn, adOpenDynamic, adLockOptimistic

TOP

        ÀR«ä¦Û¦b : ¡i®É¶¡¦pÆp¥Û¡j®É¶¡¹ï¤@­Ó¦³´¼¼zªº¤H¦Ó¨¥¡A´N¦pÆp¥Û¯ë¬Ã¶Q¡F¦ý¹ï·M¤H¨Ó»¡¡A«o¹³¬O¤@§âªd¤g¡A¤@ÂI»ù­È¤]¨S¦³¡C
ªð¦^¦Cªí ¤W¤@¥DÃD