Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ASP - how to put comma in DW

LEGEND ,
Feb 09, 2008 Feb 09, 2008
hii there

using ASP and MS Access

I am retrieving data from a number field like - "89000"

this field stores the price of the product

I wouuld like to put a comma after 2 digits like 89,000

and would like to put comma after 3 digits like 485,000

teh recordset when receives the data only pull the complete text in the row
how can i put a comma after i receive from the data something like this
89,000 or 485,000 etc.

thanks


TOPICS
Server side applications
358
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 10, 2008 Feb 10, 2008
You can format the number field in your access database. in table design
view.
Dave
"Techy" <anwar@clickbahrain.com> wrote in message
news:fom7f9$6l7$1@forums.macromedia.com...
> hii there
>
> using ASP and MS Access
>
> I am retrieving data from a number field like - "89000"
>
> this field stores the price of the product
>
> I wouuld like to put a comma after 2 digits like 89,000
>
> and would like to put comma after 3 digits like 485,000
>
> teh recordset when receives the data only pull the complete text in the
row
> how can i put a comma after i receive from the data something like this
> 89,000 or 485,000 etc.
>
> thanks
>
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 11, 2008 Feb 11, 2008

"Techy" <anwar@clickbahrain.com> wrote in message
news:fom7f9$6l7$1@forums.macromedia.com...
> hii there
>
> using ASP and MS Access
>
> I am retrieving data from a number field like - "89000"
>
> this field stores the price of the product
>
> I wouuld like to put a comma after 2 digits like 89,000
>
> and would like to put comma after 3 digits like 485,000
>
> teh recordset when receives the data only pull the complete text in the
> row how can i put a comma after i receive from the data something like
> this 89,000 or 485,000 etc.

Select the field in your page and then look at the Bindings Panel - there
should be a down-arrow in the Format column - take a look at the options
there; there might be one that suits what you need


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 13, 2008 Feb 13, 2008
hi baxter...

can you tell me how to do that in access please....

i am not able to figure it out

thanks


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 13, 2008 Feb 13, 2008
LATEST
Sure, open your access database pick your table with the number field you
want to format, Click the triangle with the pencil next to it (Design View)
Under data type
Make sure its a number then in field properties click in the format field a
dropdown box will show up click the drop down and select the format display
layout you want for your number to show up in the field. (standard) is what
you probably want.
Dave
"Techy" <anwar@clickbahrain.com> wrote in message
news:fou8q3$5ct$1@forums.macromedia.com...
> hi baxter...
>
> can you tell me how to do that in access please....
>
> i am not able to figure it out
>
> thanks
>
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines