|
-
Sep 18th, 2005, 06:29 PM
#1
Thread Starter
New Member
rounding the numeric values
Hi,
I have an vb6 application using sql server and udb at the back end.
In the grid , I want to display a numeric value ex: 123.4562.
I have declared the value as numeric (15,5).
The stored procedure modifies or adds the value to the table.
when I connect the application to UDB, the column displays the numeric value in the grid. when I connect the application to SQL server, the columns displays the value 123.00000.
The sql stored procedure works fine if I pass the numeric value in query analyzer saving the numeric value in table. but in the application it shows me as 123.0000. The same application when connected to UDB works fine.
Can some body help me with this problem.
Thanks
-
Sep 23rd, 2005, 02:42 PM
#2
Re: rounding the numeric values
Welcome to the Forums. 
Moved from VB FAQs forum.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 23rd, 2005, 03:10 PM
#3
Re: rounding the numeric values
What is a UDB? Post your code.
-
Sep 23rd, 2005, 03:11 PM
#4
Re: rounding the numeric values
-
Sep 24th, 2005, 04:52 AM
#5
Re: rounding the numeric values
 Originally Posted by szlamany
What is UDB?
User database?
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
|