S
Sean
Hello,
Can VBA pull a variable from 1 table depending on a field from another. I
know an SQL query could do it, but I'm not sure if you can run an sql query
from within VBA. I'm controlling access from MS Project, so it all has to be
VBA driven. Here is what I think I need.
table 1 = MSP_TASKS (task information0
table 2 = MSP_LINKS (link information0
strname = Select [TASK_NAME] from [MSP_TASKS] where [MSP_TASKS]![TASK_ID] =
[MSP_LINKS]![LINK_PRED_ID]
Is something like this possible. Is there a better way? I know I could
loop through each table, but to do that for each record would be extremely
inefficient.
Thanks
Can VBA pull a variable from 1 table depending on a field from another. I
know an SQL query could do it, but I'm not sure if you can run an sql query
from within VBA. I'm controlling access from MS Project, so it all has to be
VBA driven. Here is what I think I need.
table 1 = MSP_TASKS (task information0
table 2 = MSP_LINKS (link information0
strname = Select [TASK_NAME] from [MSP_TASKS] where [MSP_TASKS]![TASK_ID] =
[MSP_LINKS]![LINK_PRED_ID]
Is something like this possible. Is there a better way? I know I could
loop through each table, but to do that for each record would be extremely
inefficient.
Thanks