Good day,
According to some threads on Google, this may not be possible, but they were not crystal clear.
I have a form with a control source of a query. The query is made up of Transactions. Each Transaction has a corresponding separate budgeted transaction in a separate table called budget transactions. One "Budgeted Transaction" may have multiple corresponding real transactions i.e bad example, but my monthly rent may be a 'Budget Transaction', and if I pay 1 months rent in two payments (again, bad example I know), and therefore it would have 2 corresponding real transactions.
Each budget transaction has a corresponding budget account on a budget account table. So in the monthly rent example, the budget account table would show "Rent", while the budget transaction table would show multiple records which are my future monthly budgeted rent dates and payments (i.e May, June, July, etc).
So back to my form, it's fields are for the actual transactions, i.e The Date, The Amount, The Vendor (i.e My landlords name), and the 'Budgeted Account' (i.e "Rent" not May Rent).
There is a subform which has all of the budgeted transactions for the corresponding budgeted Account on the main form, i.e if the budgeted account on the main form is Rent, it has multiple rows showing May Rent and Amount, June Rent and Amount, etc. Despite this, only one of those records is for the actual transaction on the main form, but since I tied the subform to the budgeted account, all of the budgeted transactions for that budgeted account are shown.
Thats the tricky part, the relationships in the database follow this process: Actual Transactions - Budget Transaction - Budgeted Account,<b> not</b> Budget Accounts to Actual Transactions, meaning the main form which shows which Budget Account corresponds to a Actual Transaction, is actual grabbing the data via a corresponding budget transaction.
<b>So heres the question,</b>I managed to make the sub-form shows all of the budget transactions for the corresponding budget account on the main form, but I want to add a radio button for the user to change which budget transaction to actual transaction should apply to. I.e. The budget transaction is a rent payment, and that is not allowed to change here, but if they want to change which month the payment was for, I would like to have a radio button on the subfrom to select the correct month, or in other words, the budget transaction. I would like the radio button to be preselected based on which budgeted transaction ties to the actual transaction on the main form (I think I can do this once the problem below is figured out).
<b>And here is my first problem</b>
When I put a radio button on the subform, it is un-bounded, and if I select it, all the radio buttons on the other records on the subform get selected, and vice-versa.
Any comments?
Thank you for any suggestions at all!
Kavy
According to some threads on Google, this may not be possible, but they were not crystal clear.
I have a form with a control source of a query. The query is made up of Transactions. Each Transaction has a corresponding separate budgeted transaction in a separate table called budget transactions. One "Budgeted Transaction" may have multiple corresponding real transactions i.e bad example, but my monthly rent may be a 'Budget Transaction', and if I pay 1 months rent in two payments (again, bad example I know), and therefore it would have 2 corresponding real transactions.
Each budget transaction has a corresponding budget account on a budget account table. So in the monthly rent example, the budget account table would show "Rent", while the budget transaction table would show multiple records which are my future monthly budgeted rent dates and payments (i.e May, June, July, etc).
So back to my form, it's fields are for the actual transactions, i.e The Date, The Amount, The Vendor (i.e My landlords name), and the 'Budgeted Account' (i.e "Rent" not May Rent).
There is a subform which has all of the budgeted transactions for the corresponding budgeted Account on the main form, i.e if the budgeted account on the main form is Rent, it has multiple rows showing May Rent and Amount, June Rent and Amount, etc. Despite this, only one of those records is for the actual transaction on the main form, but since I tied the subform to the budgeted account, all of the budgeted transactions for that budgeted account are shown.
Thats the tricky part, the relationships in the database follow this process: Actual Transactions - Budget Transaction - Budgeted Account,<b> not</b> Budget Accounts to Actual Transactions, meaning the main form which shows which Budget Account corresponds to a Actual Transaction, is actual grabbing the data via a corresponding budget transaction.
<b>So heres the question,</b>I managed to make the sub-form shows all of the budget transactions for the corresponding budget account on the main form, but I want to add a radio button for the user to change which budget transaction to actual transaction should apply to. I.e. The budget transaction is a rent payment, and that is not allowed to change here, but if they want to change which month the payment was for, I would like to have a radio button on the subfrom to select the correct month, or in other words, the budget transaction. I would like the radio button to be preselected based on which budgeted transaction ties to the actual transaction on the main form (I think I can do this once the problem below is figured out).
<b>And here is my first problem</b>
When I put a radio button on the subform, it is un-bounded, and if I select it, all the radio buttons on the other records on the subform get selected, and vice-versa.
Any comments?
Thank you for any suggestions at all!
Kavy