finafisken
Programmer
Hi everybody!
My problem is that I need to give the user control over which column that will be displayed in an Access 97 query. I thought that a Combo Box would be perfect for this as it works perfectly when sorting out different posts using WHERE. However, this seemed not to be the case at all...
This is how I hade HOPED for it to work:
SELECT TAvkastning.foretag, TAvkastning.[Forms]![SharperatioForm]![Foretag]]
FROM TAvkastning
WHERE TAvkastning.Foretag LIKE ([Forms]![SharperatioForm]![Foretag])
Is there any way to do this in SQL code at all?
My problem is that I need to give the user control over which column that will be displayed in an Access 97 query. I thought that a Combo Box would be perfect for this as it works perfectly when sorting out different posts using WHERE. However, this seemed not to be the case at all...
This is how I hade HOPED for it to work:
SELECT TAvkastning.foretag, TAvkastning.[Forms]![SharperatioForm]![Foretag]]
FROM TAvkastning
WHERE TAvkastning.Foretag LIKE ([Forms]![SharperatioForm]![Foretag])
Is there any way to do this in SQL code at all?