ªð¦^¦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 : §g¤l¥ß«í§Ó¡A¤p¤H«í¥ß§Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD