Hi,
I seem to have similar difficulties discussed here, and I still didn't get it working.
I am trying to update certain columns within one table with data from another table.
Eventually, this query is for MySQL, but I am first testing it in Access.
The error message the I am getting is: "Operation must be an updateable query".
What am I doing wrong?:
Update pr2_users_values
Set
f_comp_name = (select compname from workstat),
f_node_addr = (select node_addr from workstat),
f_tcp_ip = (select tcpip from workstat),
f_cpu = (select cpu from workstat),
f_cpu_speed = (select cpu_speed from workstat),
f_ram = (select ext_mem from workstat),
f_drive_c = (select drive_c from workstat),
f_c_free = (select free_c from workstat),
f_drive_d = (select drive_d from workstat),
f_d_free = (select free_d from workstat)
Where f_login = (select login from workstat);
Thank you,
IM
igor@acwis.org
I seem to have similar difficulties discussed here, and I still didn't get it working.
I am trying to update certain columns within one table with data from another table.
Eventually, this query is for MySQL, but I am first testing it in Access.
The error message the I am getting is: "Operation must be an updateable query".
What am I doing wrong?:
Update pr2_users_values
Set
f_comp_name = (select compname from workstat),
f_node_addr = (select node_addr from workstat),
f_tcp_ip = (select tcpip from workstat),
f_cpu = (select cpu from workstat),
f_cpu_speed = (select cpu_speed from workstat),
f_ram = (select ext_mem from workstat),
f_drive_c = (select drive_c from workstat),
f_c_free = (select free_c from workstat),
f_drive_d = (select drive_d from workstat),
f_d_free = (select free_d from workstat)
Where f_login = (select login from workstat);
Thank you,
IM
igor@acwis.org