|
|
|
|
俵ÀÌ / 2001-06-27 / ¿ÀÈÄ 12:09:49 / 203.255.3.190
Á¶È¸¼ö : 127
|
[Áú¹®] RecordCount¸¦ ¾²¸é¿ä... |
> > SELECT DISTINCT name FROM tblTable
> >
> > ÇÏ°í... Recordset ¼Ó¼ºÀ» ÀÌ¿ëÇÏ¸é µÇÁö ¾Ê³ª¿ä?
> >
> --------------------------------------------------
>
>
> If rsChants.Supports(adBookmark) = True Then
> intRecordCnt = rsChants.RecordCount
> End If
>
> À§¿Í °°ÀÌ ÇϸéintRecordCnt°ªÀÌ -1ÀÌ ³ª¿À°Åµç¿ä
> ¿Ö ±×·±Áö ¸ð¸£°Ú¾î¿ä...
> ¾ÆÁ÷±îÁö RecordsetÀÇ propertyÁß RecordCount´Â
> ¾î¶»°Ô »ç¿ëÇÏ´ÂÁö ¸ð¸£°Ú¾î¿ä.
> ÀÏ´Ü sqlÀ» ½ÇÇàÇÑ ÈÄ ±× ·¹ÄÚµå¼ÂÀÇ RecordCount
> °ªÀ» Ãâ·ÂÇغ¸¸é -1ÀÔ´Ï´Ù....
-----------------------------------------------------------
Recordset °´Ã¼¸¦ ÀÌ¿ëÇÏ¿© OpenÀ» ½ÇÇàÇÒ¶§
Cursor ŸÀÔÀ» 1·Î ¼³Á¤ÇÏ¼Å¾ß Recoredcount °ªÀ» ¾ò¾î ¿Ã ¼ö ÀÖ½À´Ï´Ù.
¼³Á¤ÇϽà ¾ÊÀ¸½Ã¸é ±âº»ÀÌ 0±¸¿ä... 0À϶§´Â Recorecout°ªÀº Ç×»ó -1·Î ³ª¿É´Ï´Ù.
±×·³...
|
|
|