[Gambas-user] Problem with DataComboView in Gambas 3.10
Dave
echo8hink at yahoo.com
Fri Oct 27 01:09:20 CEST 2017
Hello all.
This is my first try at posting to this user list. Please be kind
pointing out any errors I may make posting here.
I have been trying out Gambas for a few projects I have in mind. One
project is a recipe database I have used sporadically since the old PC
dBase III days. In that time I have converted it to various other forms
from MS Access to LibreOffice Base, etc.
I am retired now and recently, I decided to try to work on it using
Gambas data functions. I have parts of it working using a mysql database
on my linux laptop.
I have a many-to-many relationship from the Recipes table, thru the
IngredientList table to the Measure, Foods and FoodPrep tables. I use
autoincrement ID's in all tables.
I was moving along pretty well until I upgraded to Gambas 3.10. I was
using 3.8.? (I don't remember) before. The trouble is with using the
DataComboView to update the FoodID in IngredientList from the Foods
table. In 3.8.? I could use the control if I opened it up with a mouse
click, then arrow keyed it down to my choice and then clicked the
choice. If I mouse scrolled to the item it would not select, but it
closed the combo. Now, in 3.10, when there are enough items in the combo
drop-down to activate the vertical scroll bar, as soon as I select an
item I get a Null object error. (See the screen shots in the attached
tar.gz)
I tried the same thing in the Gambas example database by adding colors
until there were enough to make the scroll bar appear and it gave the
same error.
I included a copy of my system info in the tar.gz, also.
I would appreciate any help or insight you all may have to offer.
Thanks,
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gambas3.10-DataComboViewError.tar.gz
Type: application/gzip
Size: 336703 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20171026/25180c67/attachment-0001.gz>
More information about the User
mailing list