trying to take what a user enters into a msg box and insert that value into a new record in a table
Dim SetPrice As Currency
SetPrice = InputBox(Prompt:="Enter New Price Base.", _
Title:="New Price Base", Default:="Enter here")
CurrentDb.Execute "INSERT INTO [PrototypeDatabaseCafe2010].[dbo].[PriceBasis]" ([PriceBase]) Values (& Setprice.Value & ) "
thanks guys
Dim SetPrice As Currency
SetPrice = InputBox(Prompt:="Enter New Price Base.", _
Title:="New Price Base", Default:="Enter here")
CurrentDb.Execute "INSERT INTO [PrototypeDatabaseCafe2010].[dbo].[PriceBasis]" ([PriceBase]) Values (& Setprice.Value & ) "
thanks guys