Solved

Save a number in Access Table

Posted on 2014-01-14
2
368 Views
Last Modified: 2014-01-14
Is it possible to enter a numeric value in a form and have access save the value multiplied by 2 on it's table. Not having the actual value that was entered stored on any table... the saved value would be the number on the form times two.

Thanks!

Chris
0
Comment
Question by:cansevin
2 Comments
 
LVL 22

Accepted Solution

by:
Kelvin Sparks earned 500 total points
Comment Utility
Yes, create a field that is not bound to any field in the table. have a second invisible field that is bound to your actual field that you want value saved in. The on the form fields after update event use something like

If IsNumeric(Me.fieldname) then
    me.actualfield = me.fieldname*2
Else
   MsgBox "The value you entered is not numeric", vbOK, "Invalid Entry"
End IF


Kelvin
0
 

Author Comment

by:cansevin
Comment Utility
Thanks Kelvin!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now