Hello,
I have created a grid using a table Fields are DinnerTable, 18:00, 18:15, 18:30, 18:45 etc
On a form I have a textbox named txtGrid1 and a button
I'm looking to run a query where if the textbox value was 18:30 then my query fields would be 'DinnerTable' and '18:30' - however I cannot work out how to make the field names variable (if txtGrid1 = 18:30 then field name = 18:30, OR if txtGrid1 = 18:00 then field name = 18:00 etc)
Is this possible to make query field names variable please?
Thank you,
Malcolm
I have created a grid using a table Fields are DinnerTable, 18:00, 18:15, 18:30, 18:45 etc
On a form I have a textbox named txtGrid1 and a button
I'm looking to run a query where if the textbox value was 18:30 then my query fields would be 'DinnerTable' and '18:30' - however I cannot work out how to make the field names variable (if txtGrid1 = 18:30 then field name = 18:30, OR if txtGrid1 = 18:00 then field name = 18:00 etc)
Is this possible to make query field names variable please?
Thank you,
Malcolm