<I><FONT COLOR="#663300"><I><FONT COLOR="#663300">I am having this exact same problem with my app. Has anyone come up with an answer to this one? I am trying to simply have a text box show the first value in a view, and am really confused as to why it remains blank and 'greyed' (disabled?). I believe this is part of the reason why I cannot get the text box to work. I know I am a 'newbie' at this, but this should be a fairly easy thing to accomplish, and I am spending days trying to debug and backtrack through classes to find out why things are doing what they are doing.</FONT></I>
By default, view classes are set with NoDataOnLoad = .T., which means that you need to requery them in order to populate them with data. This is so your user has a chance to enter search criteria before the view is queried. If you are using a view which doesn't need user input, you can simply set the default for NoDataOnLoad in aDataEnv to .F. </FONT></I>I was just about to logon to say "nevermind', I just realized that when I was reading the vol 1 iss 1 of the codebook news. Two days to change a t to an f makes me wonder if I am in the right business. But, thanks for the reponse so quickly, maybe this will help out someone down the road. Now onto a more complicated form. =)
Devman mdevlin (AT) ajdebruin D.O.T com
©2000 Mike Devlin |