DBUtils.ExecuteSpinner initialize error

mrjaw

Active Member
Licensed User
Longtime User
I am using DBUtils.ExecuteSpinner to fill the combo but I am getting an error

sub:DBUtils.ExecuteSpinner
Spinner1.Clear
java.lang.RuntimeException:
Object should first be initialized(Spinner)

I did the initialization
spinloto.initialize but I get the error that I lost a parameter

PHP:
DBUtils.ExecuteSpinner(Main.SQL, "SELECT f_siglas || '-' || f_loteria FROM t_loterias ",Null, 0, spinloto)

Any clues?
 

mc73

Well-Known Member
Licensed User
Longtime User
I am using DBUtils.ExecuteSpinner to fill the combo but I am getting an error

sub:DBUtils.ExecuteSpinner
Spinner1.Clear
java.lang.RuntimeException:
Object should first be initialized(Spinner)

I did the initialization
spinloto.initialize but I get the error that I lost a parameter

PHP:
DBUtils.ExecuteSpinner(Main.SQL, "SELECT f_siglas || '-' || f_loteria FROM t_loterias ",Null, 0, spinloto)

Any clues?

I see a spinloto and a spinner1. Perhaps i'm out of topic but where do you initialize spinner1?
 
Upvote 0

mrjaw

Active Member
Licensed User
Longtime User
I did not.
The function DBUtils.ExecuteSpinner doenst need.

The spinner1 that you see is in the function.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Without seeing your code it's impossible to help you.
Erel already asked you for that !
Post your project as a zip file (IDE menu File / Export As Zip).
How exactly do you initialize spinloto ?
spinloto.Initialize("") or spinloto.Initialize("spinloto")

Best regards.
 
Upvote 0
Top