Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filling in Combobox Value
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01509298
Message ID:
01509316
Views:
56
It's still blank but when I click the dropdown its positioned not on the one I've justr added, but the one I've added the time before that?

It's not absolutely consistent though, I'm going to have to come with a solution, off to bed now to sleep on it, it's midnight hear in the UK

Best

Rob



Hi Naomi

I'm now navigating to the record & setting the value and displayvalue but it is still coming up blank.

I can however select the new added code by clicking the dropdown & picking it in the list

Rob

>>Hi
>>
>>I have a combobox of customer codes on my form,
>>
>>the source for the combobox is SQL into a cursor.
>>
>> the user wants a quick way of adding new customer codes on the fly, so I've added a Add command button that runs another modal form that adds a new customer code into the CUSTOMERS table, I then requiry the combobox, and want to set the value of the combobox to the new added code,
>>
>>But the value stays blank in the combobox?
>>
>>Any help extremley appreciated
>
>Try navigating to the record in the cursor in addition to setting the value and displayvalue.

Ok, I'll give that a go
Rob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform