|
Вопрос по запросу
|
|||
---|---|---|---|
#18+
На кнопке "сформировать" висит: thisform.grdNzp.RecordSourceType = 4 thisform.grdNzp.RecordSource = "select * from 'd:\nzp\2009\bd200109.dbf' where vidrab='7' into cursor Mycur" По клику в гриде вижу все что нужно. Когда вешаю: thisform.grdNzp.RecordSourceType = 4 thisform.grdNzp.RecordSource = "select * from 'd:\nzp\2009\bd200109.dbf' where vidrab='7' union select * from 'd:\nzp\2009\bd120109.dbf' where vidrab='7' into cursor Mycur" По клику в гриде ничего не отображается. Что я делаю не так? ... |
|||
:
Нравится:
Не нравится:
|
|||
03.03.2009, 17:28 |
|
Вопрос по запросу
|
|||
---|---|---|---|
#18+
Никому ничего не бросилось в глаза? ... |
|||
:
Нравится:
Не нравится:
|
|||
04.03.2009, 08:43 |
|
Вопрос по запросу
|
|||
---|---|---|---|
#18+
Все нормально работает : Код: plaintext 1. 2. 3. 4. 5. 6.
Неизвестно что и в какой последовательности происходит. Но наверняка нет Requery() или Refresh () грида. ... |
|||
:
Нравится:
Не нравится:
|
|||
04.03.2009, 09:01 |
|
Вопрос по запросу
|
|||
---|---|---|---|
#18+
Rounder, Бросилось... MSDN HELP The UNION clause combines the results from two or more SQL SELECT statements into a single result set containing rows from all the queries in the UNION operation. Note When one of the columns is of Memo, General, or Blob type, performing unions of differing column types is not allowed. For the complete syntax, see SELECT - SQL Command. The detailed syntax for the UNION clause is as follows: [UNION [ALL] SELECTCommand] Parameters [UNION [ALL] SELECTCommand] Specifies another SELECT statement. By default, UNION eliminates duplicate rows from the combined result set. Note The ALL keyword includes duplicate rows in the combined result set. ... |
|||
:
Нравится:
Не нравится:
|
|||
04.03.2009, 09:01 |
|
|
start [/forum/topic.php?fid=41&msg=35849816&tid=1586706]: |
0ms |
get settings: |
10ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
50ms |
get topic data: |
10ms |
get forum data: |
3ms |
get page messages: |
43ms |
get tp. blocked users: |
1ms |
others: | 13ms |
total: | 151ms |
0 / 0 |