Citect - DataGrid - SQL

You need to use MoveNext to get to the next row however, you need to check for last row by using Rs1.RecordCount to check how many rows there are

for x = 0 to Rs1.RecordCount
;;;;;
;;;;;
Rs1.MoveNext
Next x

If you hard code each movenext then you should use Rs1.EOF to check end of file or you will get an error just like any file.
 

Similar Topics

Hello, I have a running project on Citect v5.42 and simatic net v6.4 I have created a new spare PC and loaded all software like Citect, station...
Replies
0
Views
65
Hello everyone, In a factory where we installed Citect 7.20 the computer began to show the first signs of end of life. They never considered...
Replies
0
Views
72
I have a running backup of Citect and plc and I want to make a spare PC station so I have installed the win XP and somatic net v6.0 and import the...
Replies
3
Views
118
I am trying to display a variable within a cicode function onto a graphics page. This function queries a SQL database. I can get the value onto a...
Replies
3
Views
272
Looking for some help with the connection issue between Citect 2018 and Top Server v6 for Opto22. I’m setting all this up to communicate with some...
Replies
0
Views
112
Back
Top Bottom