Milothicus
Registered User.
- Local time
- Today, 06:25
- Joined
- Sep 24, 2004
- Messages
- 134
I'm trying to send a currency value to a word document using bookmarks, but can't get my variable to format as currency.
i have a field in a table, value, that's formatted as currency, data type currency. i have a control on my form (referenced as me.value) that's formatted as currency. in the record source query for the form, i set the format of the value field to currency.
here's my code:
Dim strvalue As Currency
strvalue = CCur(Me.Value)
Format strvalue, "currency"
I stepped through this code, and if the field on the form reads "£10,000.00", strvalue remains as "10000".
why, if i set the format as currency in 6 places, isn't strvalue displaying as currency?
i have a field in a table, value, that's formatted as currency, data type currency. i have a control on my form (referenced as me.value) that's formatted as currency. in the record source query for the form, i set the format of the value field to currency.
here's my code:
Dim strvalue As Currency
strvalue = CCur(Me.Value)
Format strvalue, "currency"
I stepped through this code, and if the field on the form reads "£10,000.00", strvalue remains as "10000".
why, if i set the format as currency in 6 places, isn't strvalue displaying as currency?