<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 color="#cc0000"> ___/ / __/ / ____/</font> Ed Leafe ©2000 Ed Leafe |