Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird time to get Error 5 - Record is out of range
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Weird time to get Error 5 - Record is out of range
Miscellaneous
Thread ID:
00204927
Message ID:
00204927
Views:
75
I have a form in which the contents of a dropdown list are based on a cursor (rowsourcetype=2). The dropdown list is called 'cboPickAcct'

I have a custom property in the form named 'glaccount' which is changed depending on the actions of the user. I have a method that is supposed to change the value of cboPickAcct with the following code:

thisform.cbo.PickAcct.value = thisform.glaccount

Problem is that occasionally I get the following error message:

Record is out of range (Error 5)

I have stepped throug the code in the debugger - looking at the tables that have had their order changed and even confirmed that the value in the custom property glaccount was correct.

I am stumped as to why I am getting error message 5 when I'm simply attempting to replace the value of a dropdown list with a custom property of the form.
Al Williams

Anola MB, CANADA
Next
Reply
Map
View

Click here to load this message in the networking platform