Message
 
 
To
22/03/2010 10:54:07
General information
Fórum:
Visual FoxPro
Category:
Bases de dados, Tabelas, Views, Indices e SQL
Miscellaneous
ID da thread:
01456119
ID da mensagem:
01456122
Views:
43
>hello!
>i knwo the code to scrool thru a table like
>
>if not eof()
>skip 1
>etc etc
>
>but im trying to use a combo box
>lets say i hav a CB with 2 values A and B. A is 5 and B is 20
>when i load the form A shows me a value of 5...in a text box but when i select B 20 doesnt show. :(
>should i change to...a scroll bar?but i wanted to be able to see the choces

I think you need to re-state your problem in a way others can understand. May be you need to go to the record with that primary key, e.g.
lnPK = thisform.myCombo.value
if seek(lnPK, 'myTable', 'myPKTag')
   thisform.refresh()
endif
If it's not broken, fix it until it is.


My Blog
Previous
Next
Responder
Mapa
View