A
Alp Bekisoglu
Hi Experts,
There must be something missing but I just can't figure it out. Can someone
poit me in the right direction please?
I get The following error:
Run-time error '3075':
Syntax error (missing operator) in query expression
'M:\udt\MyData.mdb'
when I run the following:
strSQL = "INSERT INTO tb_tmp_p (prop_ad, prop_deger, prop_tip,
prop_tip_ad) " _
& "SELECT " & strA & ", " & strB & ", " & strC & ", " & strD
& ";"
DoCmd.RunSQL strSQL
?strSQL in debug returns:
INSERT INTO tb_tmp_p (prop_ad, prop_deger, prop_tip, prop_tip_ad) SELECT
Name, M:\udt\MyData.mdb, 12, Memo;
The fact is I am trying to store the code returned values for prop_ad,
prop_deger, prop_tip, prop_tip_ad in a table named as tb_tmp_p. Code
actually gets all (available) properties from a given database.
Am I in the wrong park?
Thanks,
Alp
There must be something missing but I just can't figure it out. Can someone
poit me in the right direction please?
I get The following error:
Run-time error '3075':
Syntax error (missing operator) in query expression
'M:\udt\MyData.mdb'
when I run the following:
strSQL = "INSERT INTO tb_tmp_p (prop_ad, prop_deger, prop_tip,
prop_tip_ad) " _
& "SELECT " & strA & ", " & strB & ", " & strC & ", " & strD
& ";"
DoCmd.RunSQL strSQL
?strSQL in debug returns:
INSERT INTO tb_tmp_p (prop_ad, prop_deger, prop_tip, prop_tip_ad) SELECT
Name, M:\udt\MyData.mdb, 12, Memo;
The fact is I am trying to store the code returned values for prop_ad,
prop_deger, prop_tip, prop_tip_ad in a table named as tb_tmp_p. Code
actually gets all (available) properties from a given database.
Am I in the wrong park?
Thanks,
Alp