Ahhh, it's good to be back from vacation! Now onto things that matter!
I have a listbox I am trying to enter currency values that are eventually dumped into a Junction table. I discovered the oddest thing today, as prior to today I have never had to enter a value greater than $999.99. But today I had to add a value of $2166.10, and when I did, the listbox displayed $2. I tried $3000, and the listbox displayed $3. $1000 displayed $1, but anything $999.99 and less displayed correctly.
To make sure I wasn't losing my mind, I set up a test form and recreated entering the value and the same thing would happen. What in the world would cause this?
Here is the snippet of code that add the items to the list box:
a=just some text. If I were to remove the "Format Currency" part of the equation, the value displays correctly (i.e., one would see 2166.10) but alas, not as currency. Is this a bug or is this a setting or something that is quirky with Format Currency?
Thanks in advance!
I have a listbox I am trying to enter currency values that are eventually dumped into a Junction table. I discovered the oddest thing today, as prior to today I have never had to enter a value greater than $999.99. But today I had to add a value of $2166.10, and when I did, the listbox displayed $2. I tried $3000, and the listbox displayed $3. $1000 displayed $1, but anything $999.99 and less displayed correctly.
To make sure I wasn't losing my mind, I set up a test form and recreated entering the value and the same thing would happen. What in the world would cause this?
Here is the snippet of code that add the items to the list box:
Code:
Me.lstBudgetItems.AddItem Me.cmbBudgSub.Value & ";" & a & ";" & FormatCurrency(Me.txtBudgAmount.Value)
a=just some text. If I were to remove the "Format Currency" part of the equation, the value displays correctly (i.e., one would see 2166.10) but alas, not as currency. Is this a bug or is this a setting or something that is quirky with Format Currency?
Thanks in advance!