I am in process of building my 1st Database and do not have much experience. The database is for credit card expenses and has credit card name, date, amount, currency and calculated field for GBP equivalent. I have also put in two Combo boxes. one For Main expense Category and another for a Sub Category. There are three Tables (Category, Subcategory and main expenses table). The form picks up from the main expenses table and the combo boxes are populated from Category and Sub Category tables. A query is used as the Row source for the Subcategory to filter for these depending on the Category. I have also put in an event :
Private Sub CboCategoryP_AfterUpdate()
Me.CboSubCatP.Requery
Me.CboSubCatP.Value = ""
End Sub
The form writes the Value for category and Subcategory in the main Expenses table.
It all seemed to work but although the value is written to the main table it is not displayed in the form (except when I input using the selection dropdown for the category and subcategory) If I move to the next record and then come back, the category and subcategory are either blank or have different values in them
As a novice I am must be doing something wrong- any help would be appreciated. Driving me bonkers - and so far spent 3 days trying to sort it! Access 2016, Window 10 64
Cheers
Beanochini