N
nath
Hi,
I have a subform within a form that i would like to use
based upon two tables. To put you in the picture, i wish
to select a month, then alter the subform to use the
relevant table for that month. I have written the VB
behind the combo to create the correct table name, but
dont know how to feed the SQL created :
tbl_name = "TBL_" & combo6.value
sql = "SELECT * FROM " & tbl_Name & ";"
How do i now make the recor source of the subform this
SQL??
TIA
Nath.
I have a subform within a form that i would like to use
based upon two tables. To put you in the picture, i wish
to select a month, then alter the subform to use the
relevant table for that month. I have written the VB
behind the combo to create the correct table name, but
dont know how to feed the SQL created :
tbl_name = "TBL_" & combo6.value
sql = "SELECT * FROM " & tbl_Name & ";"
How do i now make the recor source of the subform this
SQL??
TIA
Nath.