Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating form object values moving through grid
Message
From
20/07/2006 10:10:37
 
 
To
20/07/2006 08:17:24
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01137977
Message ID:
01138038
Views:
13
Awright, CL

D'you know, that one has always beaten the hell out of me. I've experimented with the 2 in the past and the Table option has always proved problematical. Can't make head or tail of what Help has to say, either: "Automatically opens the table specified in the RecordSource property setting." - "Treats the record source as specified" <- (What a cop out - VFP uses "specified" like de Marco bans the verb "Process".

(no doubt someone will be along to explain soon - sit tight)

Don't know why yours was "Table" though, as the default is ALias.

Anyway. Alles Gut jetz?


>G'mornin' Terry,
>
>It's funny, the ContolSource is tied to that object, but it only worked once I changed the RecordSourceType of the grid from Table to Alias. Why would that make a difference?
>
>>Hi CL
>>
>>Why not just have the controlsource of ThisForm.txtName = MyTable.Name and be done with it? No ARCChange code needed.
>>Get visual, man.
>>
>>Terry
>>
>>>Very simple form that has a grid of a local table. As I move through the grid, the AfterRowColChange has this:
>>>
>>>
>>>ThisForm.txtName.Value = MyTable.Name
>>>ThisForm.txtName.Refresh
>>>ThisForm.Refresh (just for the hell-of-it)
>>>
>>>
>>>But the value does not change. I'm sure it's simple. Too little sleep, not enough coffee I guess.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform