RE: Newbie help
From: Lee Mitchell (Leemi_at_online.microsoft.com)
Date: 04/20/04
- Next message: Dan Freeman: "Re: Data Entry Limited By a Query"
- Previous message: Rick Bean: "Re: Newbie help"
- In reply to: Elwin Sodikromo: "Newbie help"
- Next in thread: Alex Feldstein: "Re: Newbie help"
- Reply: Alex Feldstein: "Re: Newbie help"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Apr 2004 20:19:41 GMT
Hi Elwin:
Yes, this could cause a problem in the future since variables can fall out
of scope in a form very easily. If you insist on using memory variables,
you should make they all public so they remain in scope. However, you need
to release them when you leave the form.
A better option is to use table buffering. You can store the data and
changes in memory, and discard or write the data to the tables as
necessary. See this article for more info:
129641 INFO: Alternative to SCATTER and GATHER in the New VFP Model
http://support.microsoft.com/?id=129641
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retires Sept. 30th, 2003
>Hi All,
>I'm a newbie coming from a dBase world. When I create forms, all my
>textboxes, checkboxes, buttons and so on are NOT bound to any
>fields/tables because I feel more comfortable to have them bound to
>variables instead. Is this the correct way of doing things? Will this
>style of programming come back to haunt me in the future, for example
>in OOP? If this style is not right what do you advise?
Thanks, Elwin
- Next message: Dan Freeman: "Re: Data Entry Limited By a Query"
- Previous message: Rick Bean: "Re: Newbie help"
- In reply to: Elwin Sodikromo: "Newbie help"
- Next in thread: Alex Feldstein: "Re: Newbie help"
- Reply: Alex Feldstein: "Re: Newbie help"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|