Hi,
I am writing a prog. in VBA and i have a vairable (x), and I want to lookup in another table (table_y) to find the relavent group noumber and assign this number to another variable, for later use.
Table y has two fields:
field 1 - x
field 2 - Group No.
My SQL knowledge is non-existent.
I want to avoid opening up table y as a recordset and cycling through the recods, so i thought SQL would be the way to go.
Can anyone help please?
Many Thanks,
Squibs
I am writing a prog. in VBA and i have a vairable (x), and I want to lookup in another table (table_y) to find the relavent group noumber and assign this number to another variable, for later use.
Table y has two fields:
field 1 - x
field 2 - Group No.
My SQL knowledge is non-existent.
I want to avoid opening up table y as a recordset and cycling through the recods, so i thought SQL would be the way to go.
Can anyone help please?
Many Thanks,
Squibs