Hi...
How can I access a table's information in VB?
I am currently working on a simple accounting application using Access.
What I'm trying to do now is adjust the number format of a textbox depending on the currency selection of the user. I created a currency-list table that stores the currencies with their appropriate decimal places (2 or 3). On a certain form, the user will have to select a currency and an amount to post entries. The currency list will be in a combobox, having its source be the currency-list table. Thus, when a selection is made in the combobox, i want to invoke an afterupdate event that will lookup the currency-list table, fetch the decimal places of the currency, then format the amount textbox accordingly..
How can I do that? I am not bad with programming.. but its been a while since I programmed so I don't know the syntax that ill have to follow in Access VB..
Please help... thaaanks a lot in advance!
How can I access a table's information in VB?
I am currently working on a simple accounting application using Access.
What I'm trying to do now is adjust the number format of a textbox depending on the currency selection of the user. I created a currency-list table that stores the currencies with their appropriate decimal places (2 or 3). On a certain form, the user will have to select a currency and an amount to post entries. The currency list will be in a combobox, having its source be the currency-list table. Thus, when a selection is made in the combobox, i want to invoke an afterupdate event that will lookup the currency-list table, fetch the decimal places of the currency, then format the amount textbox accordingly..
How can I do that? I am not bad with programming.. but its been a while since I programmed so I don't know the syntax that ill have to follow in Access VB..
Please help... thaaanks a lot in advance!