From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I am facing Trouble with Connection a MSSQL Database, which is linked To an Iconics Data SW, via a VBS to Read out the data. Ihave attached my beginner VBS and the EOF,BOF Fault it creates.
Does it mean I am not connect or no Database, or whatever.
I am a beginner in this matter, and help would be welcome !!!
I am not sure about the error but in my code I never call GetRows with default parameters.
e.g.
dim getResult : set getResult = conn.Execute(sqlGetStatement)
dim rowVals : rowVals = getResult.GetRows(-1, 0, 0)
dim valueIndex : valueIndex = 1
dim value : For Each value In rowVals
channel.Values(valueIndex) = value
valueIndex = valueIndex + 1
Next