Tezcatlipoca
Registered User.
- Local time
- Today, 16:30
- Joined
- Mar 13, 2003
- Messages
- 246
Quick question regarding form buttons
This query really isn't essential in any way, I'm just in the stage of trying to get my perfectly functioning database to do increasingly clever things.
Essentially, I have a database that stores details of students (course dates, names, etc.). Each of these students also has an invoice, which is written and stored as a word document and completely seperate from the database.
I'd like to try to link the two in such a way that a user of my database, when browsing the records, can simply click a button to open up the corresponding invoice.
I can setup such a button very easily, and point it at a particular file (in this case a Word document), but run into problems with how to do the button code. If I just stick it on the design of the form through which users browse the records, the button - and consequently targetted invoice - will remain the same for every record.
Is it possible to have something which enables the code behind the button to alter, depending upon which record is on screen?
This query really isn't essential in any way, I'm just in the stage of trying to get my perfectly functioning database to do increasingly clever things.
Essentially, I have a database that stores details of students (course dates, names, etc.). Each of these students also has an invoice, which is written and stored as a word document and completely seperate from the database.
I'd like to try to link the two in such a way that a user of my database, when browsing the records, can simply click a button to open up the corresponding invoice.
I can setup such a button very easily, and point it at a particular file (in this case a Word document), but run into problems with how to do the button code. If I just stick it on the design of the form through which users browse the records, the button - and consequently targetted invoice - will remain the same for every record.
Is it possible to have something which enables the code behind the button to alter, depending upon which record is on screen?