Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataEnvironment has changed in 5.0
Message
 
To
02/11/1996 18:51:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00011330
Message ID:
00011334
Views:
32
>In my framework, I sometimes have to change my Database property to blank to indicate that I am using a free table.
>
>This is done at run time in my Load() method before I issue ThisForm.DataEnvironment.OpenTables().
>
>I was replacing the property by doing this:
>ThisForm.DataEnvironment.Cursor1.Database=''
>
>But, this is no longer working because the system is now putting by default the current path + the value of the property. So, for example, if I want to put '' in the property, I will end up with d:\ut\ instead of a blank.
>
>So, maybe, instead of putting a blank in the property, I may want to call a function to replace the default value of the property which will bring me (None) as it is now in 5.0.
>
>Any idea?

I use a flag to indicate what is going to happen.

HTH,
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