I have found the problem and the caues was really ... strange...
It seems you cannot use ALEN(arrayName) in an IF
So :
1 IF ALEN(arrayName) ==0
2 Messagebox(""No results found")
3 ENDIF
is INCORRECT...
The Correct form would be something like this :
1 STORE ALEN(arrayName)...
sorry, should be this select :
1 SELECT product.id_prod;
2 FROM product;
3 WHERE alltrim(product.name) == alltrim(VVname) ;
4 INTO ARRAY arrayIDs
5
6 IF ALEN(arrayIDs) (Here I want to say that if it has no records show that message)
7 MESSAGEBOX("No results found.", 48...
Hello, I have a problem with arrays and determining the size of them.
I'm writing a complex select statement for determining only the the IDs I have in that table for those products.
I have simplified it to make it easier to understand... even simplified it will still not work...
1 SELECT...
Hello,
I'm doing an arithmetic expression calculator as an applet and I have encountered a problem... It's not crucial that this problem would be solved but if it can be solved it would make my applet better. So, I'm relatively new to Java (Java only) and I'd like to add a KeyListener so that...
Hello,
I'm just wondering if there's possible that when you create a Messagebox with Yes/No buttons you could perhaps specify other captions for those buttons... This could help me a lot in a project I'm working on because I'd like them in some other language (although many people already know...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.