Home > Software engineering >  VB to judge, the data stays in the first row
VB to judge, the data stays in the first row

Time:09-25

If the Trim (Text1. Text) & lt;> Trim (Adodc1. You. Fields (" username ")) Then
Has remained at the first line, input repeat also added the user name, how to solve

CodePudding user response:

Adodc1. You. Movenext

CodePudding user response:

I wrote in the previous sentence, but it points to the second line, or not

CodePudding user response:

Stick the code all the...

CodePudding user response:

Need to iterate over all the records, Adodc1. When you start the current point to the first record, you have to cycle,

Of course, another method is the query SQL statements "is added to the WHERE the user name='" & amp; Text1 & amp; "'",
  • Related