G
Guest
I have looked a few post here and other websites, but am
truely new to VB, I did some kiddie VB programming about
10 years ago and haven't touched it since. Is it possible
to run Dlookup in queries?
Here is my problem. I have taken on the task of converting
an excel spreadsheet using multiple vlookup's and been
asked to convert it to Access! Fun joy! Anyways, I've
tried so many different ways to accomplish this without
trying to dip into VBA, because of my lack of knowledge.
If there is a way to do this via queries whether it may be
append, update, select, please let me know. I'd rather not
make this any more complicated then possible.
We have two tables, table called "Data", and table
called "Action Codes".
Within table "Data" remains most of the data however,
there are a few fields, focussing in on the "Step Number"
field, that needs to be populated. Both tables have
a "Action Code" field. Based off of this Action Code, and
for example, in [Data].[Action Code] the value is 724.
Looking at [Action Codes] table, we have the value 724,
and "Step Number" value is 3. In excel, you would run a
vlookup to get the information and I could populate
table "Data" Step Number with that value 3.
However, I am looking for the easiest solution, any help
or direction is most welcomed. Again, I am trying to do
this through a query, but am open to other solutions,
whether its a command button I need to do or whatever!
Thanks in advance again. Have a good day!
truely new to VB, I did some kiddie VB programming about
10 years ago and haven't touched it since. Is it possible
to run Dlookup in queries?
Here is my problem. I have taken on the task of converting
an excel spreadsheet using multiple vlookup's and been
asked to convert it to Access! Fun joy! Anyways, I've
tried so many different ways to accomplish this without
trying to dip into VBA, because of my lack of knowledge.
If there is a way to do this via queries whether it may be
append, update, select, please let me know. I'd rather not
make this any more complicated then possible.
We have two tables, table called "Data", and table
called "Action Codes".
Within table "Data" remains most of the data however,
there are a few fields, focussing in on the "Step Number"
field, that needs to be populated. Both tables have
a "Action Code" field. Based off of this Action Code, and
for example, in [Data].[Action Code] the value is 724.
Looking at [Action Codes] table, we have the value 724,
and "Step Number" value is 3. In excel, you would run a
vlookup to get the information and I could populate
table "Data" Step Number with that value 3.
However, I am looking for the easiest solution, any help
or direction is most welcomed. Again, I am trying to do
this through a query, but am open to other solutions,
whether its a command button I need to do or whatever!
Thanks in advance again. Have a good day!