V
vbken
Guest
Hi,
I have a code like this:
RECORD = Table![Pre]
Pre is the name of a column. The question is, say I have a function that has a perameter Col. Col = "Pre". I tried doing this:
RECORD = Table![Col]
But that does not work. Does anyone know how I can vary the column name in the above code? I am trying to make my function more robust. Rather then making 5 or 6 functions that each use a different column in the table, I want to use one, and just vary the Col perameter.
Thanks
I have a code like this:
RECORD = Table![Pre]
Pre is the name of a column. The question is, say I have a function that has a perameter Col. Col = "Pre". I tried doing this:
RECORD = Table![Col]
But that does not work. Does anyone know how I can vary the column name in the above code? I am trying to make my function more robust. Rather then making 5 or 6 functions that each use a different column in the table, I want to use one, and just vary the Col perameter.
Thanks