PhilipBrown Active Member Licensed User Longtime User Feb 16, 2015 #1 Not sure if this is a bug but it's certainly a bit weird. It was first reported at https://www.b4x.com/android/forum/t...ugh-the-basic4android-book.35541/#post-317116 I'm running B4A 4.30. If I try to compile Klaus's SQLExample I get the compile error B4A version 4.30 Parsing code. 0.03 Compiling code. 0.14 Compiling layouts code. Error Value cannot be null. Parameter name: input Error File: edit.bal Go to the designer script page to debug this error. If I open the designer and open the edit layout, but don't make any changes, the code compiles and runs. If I close B4A and re-open the project, it compiles without error even if I don't open the designer. If I reboot the PC and re-open the project, I get the error again. You can download the SQLExample code from http://pennypress.co.uk/wp-content/uploads/2013/04/SQLExample.zip
Not sure if this is a bug but it's certainly a bit weird. It was first reported at https://www.b4x.com/android/forum/t...ugh-the-basic4android-book.35541/#post-317116 I'm running B4A 4.30. If I try to compile Klaus's SQLExample I get the compile error B4A version 4.30 Parsing code. 0.03 Compiling code. 0.14 Compiling layouts code. Error Value cannot be null. Parameter name: input Error File: edit.bal Go to the designer script page to debug this error. If I open the designer and open the edit layout, but don't make any changes, the code compiles and runs. If I close B4A and re-open the project, it compiles without error even if I don't open the designer. If I reboot the PC and re-open the project, I get the error again. You can download the SQLExample code from http://pennypress.co.uk/wp-content/uploads/2013/04/SQLExample.zip
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2015 #2 It is indeed a bug with the handling of old layout files. It is fixed for the next version. The workaround is simple. Open the layout file with the designer and save it. It will be updated with the format of the latest version.
It is indeed a bug with the handling of old layout files. It is fixed for the next version. The workaround is simple. Open the layout file with the designer and save it. It will be updated with the format of the latest version.
PhilipBrown Active Member Licensed User Longtime User Feb 16, 2015 #3 Thanks very much. I've updated the example on the website. New version is now http://pennypress.co.uk/wp-content/uploads/2013/04/SQLExample2.zip
Thanks very much. I've updated the example on the website. New version is now http://pennypress.co.uk/wp-content/uploads/2013/04/SQLExample2.zip
palmaf Member Licensed User Longtime User Feb 16, 2015 #4 I downloaded the file SQLExample2 from the link indicated by Philip and the example works perfectly . Thanks Francesco Palma - Roma Italy
I downloaded the file SQLExample2 from the link indicated by Philip and the example works perfectly . Thanks Francesco Palma - Roma Italy