Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Tony Vignone
  Where is Tony Vignone?
 St Augustine
 Florida - United States
 Tony Vignone
 To: Mike Yearwood
  Where is Mike Yearwood?
 Toronto
 Canada
 Mike Yearwood
Subject: RE: strange problem on variables
Thread ID: 437868 Message ID: 438087 # Views: 33 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Databases, Tables and SQL Server
Date: Saturday, July 2, 2016 9:26:18 PM         
   



>
> If m.gastennr = "something" is a good use of m.
>
> m.gastennr = "something" is a bad use of m.

There is one exception. Although this technique is rarely used anymore, it is listed as an alternative.
I use it occasionally expecially if I am gathering information for the cursor a little at a time.

CREATE CURSOR cCur (fld1 C(10), fld2 I)
*..... a lot of code
m.fld1 = "Something"
*..... a lot of other code
m.fld2 = 45
*..... more code
INSERT INTO cCur from MEMVAR


Tony

ENTIRE THREAD

strange problem on variables Posted by tom knauf @ 6/28/2016 9:31:35 AM
RE: strange problem on variables Posted by Koen Piller @ 6/28/2016 10:43:30 AM
RE: strange problem on variables Posted by Tore Bleken @ 6/28/2016 10:56:43 AM
RE: strange problem on variables Posted by tom knauf @ 6/28/2016 11:19:07 AM
RE: strange problem on variables Posted by Tore Bleken @ 6/28/2016 11:58:48 AM
RE: strange problem on variables Posted by tom knauf @ 6/28/2016 2:53:53 PM
RE: strange problem on variables Posted by Koen Piller @ 6/28/2016 5:53:06 PM
RE: strange problem on variables Posted by Fernando Bozzo @ 6/28/2016 11:23:07 AM
RE: strange problem on variables Posted by tom knauf @ 6/28/2016 2:55:53 PM
RE: strange problem on variables Posted by Mike Yearwood @ 6/28/2016 6:28:19 PM
RE: strange problem on variables Posted by António Lopes @ 6/28/2016 8:18:43 PM
RE: strange problem on variables Posted by Mike Yearwood @ 6/28/2016 8:25:50 PM
RE: strange problem on variables Posted by Koen Piller @ 6/28/2016 8:40:36 PM
RE: strange problem on variables Posted by Tore Bleken @ 6/28/2016 10:21:18 PM
RE: strange problem on variables Posted by Mike Yearwood @ 6/28/2016 11:08:14 PM
RE: strange problem on variables Posted by Koen Piller @ 6/28/2016 11:15:30 PM
RE: strange problem on variables Posted by Mike Yearwood @ 6/29/2016 1:54:53 AM
RE: strange problem on variables Posted by António Lopes @ 6/28/2016 8:47:47 PM
RE: strange problem on variables Posted by Mike Yearwood @ 6/28/2016 11:11:13 PM
RE: strange problem on variables Posted by António Lopes @ 6/29/2016 12:23:31 AM
RE: strange problem on variables Posted by Mike Yearwood @ 6/29/2016 1:56:28 AM
RE: strange problem on variables Posted by Mike Yearwood @ 6/29/2016 4:41:18 AM
RE: strange problem on variables Posted by António Lopes @ 6/29/2016 7:54:52 AM
RE: strange problem on variables Posted by Mike Yearwood @ 6/29/2016 1:38:38 PM
RE: strange problem on variables Posted by António Lopes @ 6/29/2016 3:18:49 PM
RE: strange problem on variables Posted by Mike Yearwood @ 6/29/2016 6:28:45 PM
RE: strange problem on variables Posted by António Lopes @ 6/29/2016 10:34:42 PM
RE: strange problem on variables Posted by Jack Ryan @ 6/30/2016 12:04:45 AM
RE: strange problem on variables Posted by António Lopes @ 6/30/2016 7:33:48 AM
RE: strange problem on variables Posted by Mike Yearwood @ 6/30/2016 3:23:53 PM
RE: strange problem on variables Posted by António Lopes @ 6/30/2016 4:25:36 PM
RE: strange problem on variables Posted by Mike Yearwood @ 6/30/2016 6:21:45 PM
RE: strange problem on variables Posted by António Lopes @ 6/30/2016 7:18:57 PM
RE: strange problem on variables Posted by Koen Piller @ 6/30/2016 9:10:39 PM
RE: strange problem on variables Posted by Mike Yearwood @ 6/30/2016 9:44:14 PM
RE: strange problem on variables Posted by António Lopes @ 6/30/2016 11:08:21 PM
RE: strange problem on variables Posted by Mike Yearwood @ 7/1/2016 9:32:47 PM
RE: strange problem on variables Posted by António Lopes @ 7/1/2016 11:28:09 PM
RE: strange problem on variables Posted by Mike Yearwood @ 7/2/2016 8:29:27 PM
RE: strange problem on variables Posted by Jun Tangunan @ 7/1/2016 11:33:24 PM
RE: strange problem on variables Posted by António Lopes @ 7/2/2016 12:10:15 AM
RE: strange problem on variables Posted by Jun Tangunan @ 7/2/2016 12:57:11 AM
RE: strange problem on variables Posted by António Lopes @ 7/2/2016 9:33:25 AM
RE: strange problem on variables Posted by Jun Tangunan @ 7/2/2016 11:21:30 AM
RE: strange problem on variables Posted by António Lopes @ 7/2/2016 3:21:11 PM
RE: strange problem on variables Posted by Mike Yearwood @ 7/2/2016 8:31:07 PM
RE: strange problem on variables Posted by Jun Tangunan @ 7/3/2016 6:41:37 AM
RE: strange problem on variables Posted by António Lopes @ 7/3/2016 8:57:23 AM
RE: strange problem on variables Posted by Jun Tangunan @ 7/3/2016 10:27:47 AM
RE: strange problem on variables Posted by António Lopes @ 7/3/2016 11:38:32 AM
RE: strange problem on variables Posted by Jun Tangunan @ 7/3/2016 12:31:20 PM
RE: strange problem on variables Posted by António Lopes @ 7/3/2016 2:41:47 PM
RE: strange problem on variables Posted by Mike Yearwood @ 7/3/2016 3:27:12 PM
RE: strange problem on variables Posted by António Lopes @ 7/3/2016 11:02:30 PM
RE: strange problem on variables Posted by Mike Yearwood @ 7/4/2016 2:58:06 AM
RE: strange problem on variables Posted by António Lopes @ 7/4/2016 9:07:36 AM
RE: strange problem on variables Posted by Mike Yearwood @ 7/3/2016 3:22:11 PM
RE: strange problem on variables Posted by Jun Tangunan @ 7/3/2016 10:39:30 PM
RE: strange problem on variables Posted by Mike Yearwood @ 7/4/2016 2:57:00 AM
RE: strange problem on variables Posted by Jun Tangunan @ 7/4/2016 8:04:57 AM
RE: strange problem on variables Posted by Mike Yearwood @ 7/4/2016 3:10:57 PM
RE: strange problem on variables Posted by Mike Yearwood @ 7/3/2016 3:17:19 PM
RE: strange problem on variables Posted by tom knauf @ 6/29/2016 8:11:57 AM
RE: strange problem on variables Posted by Tony Vignone @ 7/2/2016 9:26:18 PM
RE: strange problem on variables Posted by Mike Yearwood @ 7/3/2016 3:28:33 PM
RE: strange problem on variables Posted by Tony Vignone @ 7/4/2016 8:41:41 AM
RE: strange problem on variables Posted by tom knauf @ 6/29/2016 10:01:20 AM
RE: strange problem on variables Posted by Koen Piller @ 6/29/2016 11:29:32 AM
RE: strange problem on variables Posted by Jun Tangunan @ 6/30/2016 10:30:56 PM