Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown member OFIELDCOLLECTION
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Unknown member OFIELDCOLLECTION
Miscellaneous
Thread ID:
00155016
Message ID:
00155016
Views:
74
I have been using stonefield query for several months and it has been working great. Now all of the sudden I am recieving sporatic error messages and can not track down the problem. I am still running VFP 5.0a with SP3. I am also using the Mere Mortals Framework.

The stragest thing is the errors only happen when running the compiled .EXE. If I run the same program through source code, I do not recieve the error?

Here is the problem. On a form, I have added a stonefield query object. I then have a button which calls:

ThisForm.oQuery.Show()

First time I click on the button, the Filter form displays properly. I can then add a condition. If I then clcik on Edit to change the condition, I get:

ERROR #: 1924
Message: TOFIELDCOLLECTION is not an object
Line: 38
Code: newid()

Method: oQuery.sfgetcondition.init

If I then restart the application, I have a second scenerio which also causes a similar error. I click on the Filter button and the Filter form displays properly. I can then add a condition. If I click OK and close the Filter Form, then when I click the Filter button a second time I get this error:

ERROR #: 1925
Message: Unknown member OFIELDCOLLECTION.
Line: 38
Code:

Methood: oQuery.show

Any ideas or suggestions would be greatly appreciated.

Mat Kennedy
Decision Support Technology Inc.
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Next
Reply
Map
View

Click here to load this message in the networking platform