Jump to content

UPDATE for variable


Guest bennyriang

Recommended Posts

Guest bennyriang

i have a data which needed to be updated on periodicly... sim1 = 5 * Sin(a * Rad / 5) DataEnvironment1.Connection1.Execute "UPDATE table2 SET Amplitude = {sim1} WHERE Channel = '" + str1 + "' "but it look like i can't use sim1 for update the amplitude as i want..... got any mothed to do so? the sim1 is a variable which will change according to the formula above and the a is a counter.... please help my solve this problem thank( urgent .... please relpy as soon as possible)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...