Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot requery view, urgent! error 1494
Message
From
10/06/2002 20:00:20
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00666719
Message ID:
00666741
Views:
14
>>Hi all
>>I created a parameterized view with 4 parameters. If i USE the view, it will ask me for the values, then a browse works with no problem, but since i have to requery it in my form, i do the following:
>>USE MyView nodata
>>vparam1="some value"
>>... etc ...
>>requery('MyView')
>>
>>There, i always get error number 1494: View Definition has been changed.
>>I also tried to run this from the command window, and even entering the parameters by hand after i run the requery, but there's nothing to do.
>>Using it normally will work though, so i'm getting quite frustrated...
>

--- I've had this when part of my query returns a field that when empty is smaller than when it contains a value. Sometimes I have had to add ..

IIF(ISNULL(something),000000.00,something). I found that if I captured the query at the time of loading and dumped it into a cursor so I could see it's structure it was not what I expected...

Hope It Helps,

Sandi.
Previous
Reply
Map
View

Click here to load this message in the networking platform