You nailed it. I had "RIGHT" as a constant.
Thanks ......
User Profile
Collapse
-
Right turns to RIGHT and I get "Compile Error -Expected Array
I am trying to use the Right function in a VB6 program. I have used it used many times before in other programs.
When I press the enter key after entering the code line, the word "Right" turns into "RIGHT" in all capital letters
The line is
[CODE] LongText = RIGHT(LongText, 2)
I have used Option Explicit to make sure all variables are correct.
When I run the entire... -
wwwursa started a topic Error 3416 Action cancelled by associated objet in database program with VB6in Visual BasicError 3416 Action cancelled by associated objet in database program with VB6
I am having a problem entering the very first record in a database program using a DAO control and writing the code in vb6.
From what I can ascertain the problem is as follows.
I have the EOFaction property set to 0-MoveFirst and the BOFaction property set to 0-Movelast in the data control box..
When there are no records in the database the recordset.EOF and recordset.BOF are set to true.
...
No activity results to display
Show More
Leave a comment: