ACCESS select 正在运行,插入不起作用
ACCESS select is runing, insert does not work
下面的select运行良好:
SELECT szurt.*, *
FROM szurt
WHERE (Forms!start!k1 = FALSE OR [text1] = TRUE)
AND (Forms!start!k2 = FALSE OR [text2] = TRUE);
在条件不成立时插入:
INSERT INTO int_alapfeladat ( fenntart_tipus, fenntart_megnev,
fenntart_kapcs, fenntart_elerhet, om )
SELECT [int_alapfeladat].[fenntart_tipus], [int_alapfeladat].[fenntart_megnev],
[int_alapfeladat].[fenntart_kapcs], [int_alapfeladat].[fenntart_elerhet],
[int_alapfeladat].[OM]
FROM szurt
WHERE (Forms!start!k1 = FALSE OR [text1] = TRUE)
AND (Forms!start!k2 = FALSE OR [text2] = TRUE);
在弹出窗口中提示输入参数 window,miért... help:( /如果能提供一些示例代码/THX 的帮助会很好。!!
试试:
INSERT INTO
int_alapfeladat
( fenntart_tipus, fenntart_megnev, fenntart_kapcs, fenntart_elerhet, om )
SELECT
[fenntart_tipus], [fenntart_megnev], [fenntart_kapcs], [fenntart_elerhet], [OM]
FROM
szurt
WHERE
(Forms!start!k1 = FALSE OR [text1] = TRUE)
AND
(Forms!start!k2 = FALSE OR [text2] = TRUE);
下面的select运行良好:
SELECT szurt.*, *
FROM szurt
WHERE (Forms!start!k1 = FALSE OR [text1] = TRUE)
AND (Forms!start!k2 = FALSE OR [text2] = TRUE);
在条件不成立时插入:
INSERT INTO int_alapfeladat ( fenntart_tipus, fenntart_megnev,
fenntart_kapcs, fenntart_elerhet, om )
SELECT [int_alapfeladat].[fenntart_tipus], [int_alapfeladat].[fenntart_megnev],
[int_alapfeladat].[fenntart_kapcs], [int_alapfeladat].[fenntart_elerhet],
[int_alapfeladat].[OM]
FROM szurt
WHERE (Forms!start!k1 = FALSE OR [text1] = TRUE)
AND (Forms!start!k2 = FALSE OR [text2] = TRUE);
在弹出窗口中提示输入参数 window,miért... help:( /如果能提供一些示例代码/THX 的帮助会很好。!!
试试:
INSERT INTO
int_alapfeladat
( fenntart_tipus, fenntart_megnev, fenntart_kapcs, fenntart_elerhet, om )
SELECT
[fenntart_tipus], [fenntart_megnev], [fenntart_kapcs], [fenntart_elerhet], [OM]
FROM
szurt
WHERE
(Forms!start!k1 = FALSE OR [text1] = TRUE)
AND
(Forms!start!k2 = FALSE OR [text2] = TRUE);