Page 2 of 2

Re: Problems with 1 combobox - reading from database

Posted: Thu Jul 28, 2011 2:29 am
by admin12
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

Re: Problems with 1 combobox - reading from database

Posted: Thu Jul 28, 2011 6:00 am
by dglass
admin12 wrote: I am confused since the combobox is not a button
Yes, the combobox is a button.

Re: SOLVED - Displaying the fields from the DB

Posted: Tue Aug 09, 2011 3:04 pm
by Mark
Hi Mike,

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
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