Guest bennyriang Posted November 13, 2006 Share Posted November 13, 2006 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 More sharing options...
justsomeguy Posted November 15, 2006 Share Posted November 15, 2006 DataEnvironment1.Connection1.Execute "UPDATE table2 SET Amplitude = " + sim1 + " WHERE Channel = '" + str1 + "' " Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now