>What is the value of enrollview.dateid right before Refresh()?
Placing a a textbox with enrollview.dateid shows the correct answer. (In this case, 511, but I'm sure that doesn't help. <g>)
Placing a grid shows the dateview records are present too.
NODEFAULT in combobox.refresh suppresses the error. And the data.
Two other comboboxes set up similarly (dateview replaced with programview/schoolview) work properly.
This was working previously, the error started when I was trying to address other requery() issues.
>>I have a combobox on a form, and the combobox's refresh method throws Error 5: Record is out of range.
>>
>>BoundColumn = 2
>>BoundTo = .T.
>>Controlsource = enrollview.dateid (int FK to Date table)
>>Rowsource = dateview.date,dateid
>>Rowsourcetype = 6 - Fields
>>
>>The combobox and Dateview are requeried prior to the Refresh().
>>Dateview has fewer records than the value of dateid, but the dateid value is present.
>>
>>I've recreated the tables behind both enrollview and dateview. If I reset BoundTo to False, the error quits, but the result is wrong. I don't know what else to try.
Previous
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