G
George W. Barrowcliff
2007
I have an access data base with dimensions of an item.
Field names height, width, length and volume.
Form fields are populated by height, weight and length
Software should calculate cubic feet volume.
All 4 db fields are dimensioned as long integers.
Running Debug shows Width as 12224 and type integer.
Height, Length and Volume are type: Object/Text Box
A local variable cuFT is dim long, and set:
cuFt = 12 * 12 * 12
I have tried renaming the db column as WidthX but no difference. I know
this is a simple mistake but I have not been able to fix it.
Also, is this allowed in VB: Volume = Volume / 100
I think that is illegal syntax in VB since the result is always 0
Thanks In Advance
I have an access data base with dimensions of an item.
Field names height, width, length and volume.
Form fields are populated by height, weight and length
Software should calculate cubic feet volume.
All 4 db fields are dimensioned as long integers.
Running Debug shows Width as 12224 and type integer.
Height, Length and Volume are type: Object/Text Box
A local variable cuFT is dim long, and set:
cuFt = 12 * 12 * 12
I have tried renaming the db column as WidthX but no difference. I know
this is a simple mistake but I have not been able to fix it.
Also, is this allowed in VB: Volume = Volume / 100
I think that is illegal syntax in VB since the result is always 0
Thanks In Advance