Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote Requery
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00008423
Message ID:
00008428
Views:
32
>>I had remote view created from ORACLE, and ORACLE ODBC driver by default create datetime
>>datatype for date field, but I had done the mapping to get just date in my view, it work
>>fine, but if I do REQUERY, I will get error message as
>>
>> Error Message: 'View defination has changed'
>>
>>The cause of error is clear, because I had maped datetime field to date. But I want to
>>do the REQUERY(), without closing Dataenvirnomet. Does anybody have any idea for
>>requerying this view.
>
>Have U tried setting the view back to its defaults before doing a REQUERY() then setting it back to your mapping after? I know is a kludgy workaround... but its the first thing I'd think of doing when working with kludgy VFP. ;)


How about creating a temp field on the fly in the SQL statement?

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform