|
-
Feb 15th, 2001, 09:52 AM
#1
Thread Starter
Junior Member
I am trying to send data from an MDB to a report. In the tables the Number data has commas and once VB reads it into the report (I use it by reading straight from the DB not by a variable IE: rs!field1) the commas do not print or show. Any suggestions on how to print the commas or format this data??
Thanks
-
Feb 15th, 2001, 10:25 AM
#2
PowerPoster
What type of report software package are you using??
-
Feb 15th, 2001, 10:35 AM
#3
Thread Starter
Junior Member
Unfortunately I am not using a reporting 'tool' I am coding reports to go straight to the printer through
the Printer.Print.
Did this initially because I need to print different columns across a report and VB report wouldn't allow it, Word was a pain in the butt, I didn't have any other tools and I had to get this out on the fly. Attempting to get Crystal Reports here.
Any comments..
-
Feb 15th, 2001, 10:44 AM
#4
Fanatic Member
Have you tried using the format command ?
Code:
Dim x As Integer
x = 20500
Debug.Print Format(x, "###,000")
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|