Trouble with VB script on a Form

barien75

New member
Local time
Today, 12:46
Joined
Nov 18, 2010
Messages
3
For some reason when run this I get an error. It seems to be when it hits the rounding function as when I comment it out it works fine. Any ideas what I am doing wrong?


error.GIF
 
Try
SqFtR= Round(SqFt, 4)
 
[4 as Long] is undefined
 
Just FYI - VB Script is different from VBA. In Access and the other Office products, the internal language is VBA. VBA is an embedded language and is customized with the objects of the application it is intended to support. VB Script is more like a batch language used outside of Office products.
 

Users who are viewing this thread

Back
Top Bottom