General information
Category:
Coding, syntax & commands
>>>>Hi Dorris.
>>>>
>>>>Call the Requery method of the combobox to force it to refresh its list.
>>>>
>>>>Doug
>>>
>>>Already tried that, no change. But now here's the kicker. If I pull just the firstname, lastname and cboSelectPerson (the combobox) fields off the form to a separate form (running the same code), it works.
>>>
>>>On the Original form I've tried:
>>>Requery - no change
>>>setting the RowSource to '' before setting everything - no change.
>>>changing the name of the combobox - no change
>>>
>>>I've walked the code and watched the underlying cursor get populated, so I know there are data to go into the silly thing
>>>
>>>I've got a combobox acting like there's an empty cursor behind it. click on the down arrow and nothing happens
>>
>>Did you check for any conflicts in identifier names? (i.e. make sure you don't have conflicts in names of alias, field names, variables, tag names, etc.)
>>For example, you might want to make sure that you don't have a table included into the project that has the same name as the cursor.
>
>nope, no reused names or tables. Just tried to replace the cbo with a grid and I'm seeing the same behavior. Code runs just fine, nothing shows
>
>At this point, I'm just trying to find something that will allow users to select a specific person, short of just browsing the cursor
Have you tried using a different name for the cursor? IIRC you used the name "Countit" (going by the bits of code you've posted) -- perhaps that name is in conflict with something else somewhere. I don't know if the code you posted is directly in the form in question, or resides outside the form -- where this might matter is if you've got forms with private data session.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only