Microsoft
Software
Hardware
Network
Question : Error: Scaling of decimal value resulted in data truncation
I'm taking a Excel cell value and trying to save it to an Access field. I keep getting the error: Scaling of decimal value resulted in data truncation.
The Access field (PF) data type is Numeric, Field size = "decimal", Percision = 28, Scale 6
The value in the Excel cell ("pf") is: 0.748284042319986
I've been attempting to follow existing VBA that I got from another related application doing the same thing:
!pf = Right(Range("pf"), Len(Range("pf")) - 1)
Any suggestions? Thanks as always!!!
Answer : Error: Scaling of decimal value resulted in data truncation
Dim lngPF As Variant
lngPF=xl.range("pf").Value
!pf = Left(lngPF, len(lngPF)-1)
Random Solutions
Microsoft tool to check for correct opened ports for AD
Fast Tape Less Backup Software
Outlook 2003 > managed mapi service catastrophic failure
Trouble Combining two fields in Query
Exchange 2010 - Connection to Exchange is unavailable
Office 2003 on Terminal Services
VBA for Updating Table Data
Sec Master Drive ATAPI Incompatible at XP Boot up leading to loss of CD and DVD drives
How to backup SQL Server 2008 database from VPS to local PC?
VBA, Copy cell contents down.