SiteMap
Page Bottom  Work program

Update global inputs from input views

Ok, here's the beginning of the way you get input off the screen into variables where it can do some good...

In the view file, your component #3 is the grid definition. You created it at some point using a *_Make function such as fmANY_Make. What you'll want to do is edit that definition for input screens (and thus the resulting fmANY_def variable which gets put into the view file at this point) to include one additional line to the 'fmANY.grData' control:

[]WI 'onXEditComplete' 'CarlsEditedDataFunction'

When any cell in the grid is edited, this function (your choice of names) will then be run. The function will have to decide internally how to deal with the data and update the proper variables. This line is only used for input-capable views (or it must be able to ignore output-only views in some other way) -- can you put it only on those view definitions?

You may create a different function for each view that is very simple-minded and knows only how to handle that view. Or you may decide you'd rather be tricky about it and have only one function work with all input views and have it somehow figure out which one it's working on and what it should do about it.

I have additional information for you on the subject, but to keep from overwhelming you with too many details I'm not going to include it here. Instead, take this in the direction you like until you get to a stopping point/question. Then give me a holler with a specific question I can answer (and tell me where you are and what you've done so far). That way I won't overload you all at once. Does that sound ok?

BTW, I am assuming that you aren't doing any input error checking (yet). When you're ready for that, ask, and I'll tell you about a line similar to the one above that gets you where you need to be to do that.

Davin 5/19/03

TaskDescriptionType TaskImportanceStatusWhoTask COA#Review DateEst. CostActual Cost
Carl         
Update global inputs from input views desc.52Carl4050   

horizontal line
to home page e-mail Page Top