Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox / Requery
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00766475
Message ID:
00767244
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
Thiago ao invés de:
>
>with thisform
>  .combo1.rowsource = ""
>  select desc_ati from atitudes where .text1.value = codi_ati into cursor tmpati
>  .combo1.rowsource = "tmpati"
>  .combo1.requery
>endwith
>
Use:

em tempo de desenho, na propriedade rowsource do campo coloque:

select desc_ati from atitudes where wform.text1.value = codi_ati into cursor tmpati


na propriedade rowsourcetype do campo coloque:

3 (sql statment)


No load (do FORM) faça:
public wform
wform=thisform
E então no momento da re-atualização apenas faça:
thisform.combo1.requery()
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform