|
Проблема с пустыми таблицами...
|
|||
---|---|---|---|
#18+
Открываю в DataSetе сначала пустую таблицу, затем пытаюсь открыть другую - с данными. При этом выскакивает ошибка: Either BOF or EOF Is True, or the current record has been deleted. Requested operation requires a current record. Как можно от этого дела избавиться при открытии пустых таблиц? ... |
|||
:
Нравится:
Не нравится:
|
|||
19.04.2004, 09:38 |
|
Проблема с пустыми таблицами...
|
|||
---|---|---|---|
#18+
мона так -------------------------------------------- <TABLE > <% If (oRs.eof) then %> <tr> <TD><b>"Нет данных!"</b></td> </tr> <% else %> <tr> <td>тест</td> </tr> <% Do while (Not oRs.eof ) %> <tr> <td> <% = oRs.Fields("test")%></td> </tr> <% oRs.MoveNext Loop %> -------------------------------------------- ... |
|||
:
Нравится:
Не нравится:
|
|||
19.04.2004, 12:47 |
|
|
start [/forum/moderation_log.php?user_name=Leonmitchelli+Galette+des+Rois]: |
0ms |
get settings: |
8ms |
get forum list: |
14ms |
get settings: |
8ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
34ms |
get topic data: |
12ms |
get forum data: |
2ms |
get page messages: |
38ms |
get tp. blocked users: |
1ms |
others: | 754ms |
total: | 889ms |
0 / 0 |