CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Textbox & DataEnvironment Command

    In a Data Environment, I designed a command, then I added a form, and in the form, I added some textbox, and let the datasource, datamember set. At first time of frmMyForm.Show vbModal, it shows the data in the database table correctly. However, after I unload the form, and do a frmMyForm.Show vbModal a second time, the data can't be shown in the textbox's correctly.

    What's wrong ??? But I tested the RecordSet object can be manipulated as normal.


  2. #2
    Join Date
    Aug 1999
    Location
    Israel
    Posts
    5

    Re: Textbox & DataEnvironment Command

    I have a similar problem.
    I've notice that when rebindning the control (using run-time code), and then refreshing, it works.
    Maybe for you it will work fine, but I have ~20 controls and I cannot rebind all controls, one by one.

    If you found a better solution, please let me know.

    UDi.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured