I've got a very basic database that is tied to a website. Part of the database tracks information about training classes. Some of the training classes have flyers that go along with them in a .pdf file format - So when the user clicks on the title of the class I want it to link to the file.
To do this I've broken the table down to two fields pertaining to the flyers; the file name, and the folder it's located in. I did this because the flyers may be located in one of 4 different folders. I've got a simple textbox to store the file name, then I'd like to have 4 option buttons that match the 4 folders that the file may be in, so the user can select where the flyer is at. The problem is that the value for option buttons has to be numeric (atleast when using the option group), and I need a string type. Is there a way to get the option buttons to hold a text value that I could then store in the 'flyerfolder' field in the table? Or would there be a way for me to use the checkbox objects, but then only allow one to actually be checked at any time?
Any help on this would be greatly appreciated. It's been a while since I've done much with Access, and I'm drawing a bit of a mental blank right now on how to handle this. Thank you.
To do this I've broken the table down to two fields pertaining to the flyers; the file name, and the folder it's located in. I did this because the flyers may be located in one of 4 different folders. I've got a simple textbox to store the file name, then I'd like to have 4 option buttons that match the 4 folders that the file may be in, so the user can select where the flyer is at. The problem is that the value for option buttons has to be numeric (atleast when using the option group), and I need a string type. Is there a way to get the option buttons to hold a text value that I could then store in the 'flyerfolder' field in the table? Or would there be a way for me to use the checkbox objects, but then only allow one to actually be checked at any time?
Any help on this would be greatly appreciated. It's been a while since I've done much with Access, and I'm drawing a bit of a mental blank right now on how to handle this. Thank you.
Comment