Fixed it. I must have had an erroneous character or something. I renamed the field to cmbGender and changed in the appropriate places and viola - now it works.
Go figure.
Mike
SOLVED - Displaying the fields from the DB
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Problems with 1 combobox - reading from database
Yes, the combobox is a button.admin12 wrote: I am confused since the combobox is not a button
Re: SOLVED - Displaying the fields from the DB
Hi Mike,
A combobox is no field but a button. The following will work:
Have you noticed that your script will put the last line of theData into the fields and button(s)? What exactly do you want to achieve with the repeat loop?
Best,
Mark
A combobox is no field but a button. The following will work:
Code: Select all
put lineoffset(item 4 of myLine,btn "fldGender") into myLineNr
set the menuhistory of btn "fldGender" to myLineNr
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode