Question

Asked on 2003-08-19 at 19:28:44ID: 27002527

    .DefaultValue from VB not sotred when form closed

    by: pigskindb500

    Rating5.8Good

    I am trying to set the default value for a Textbox through VB code.  However, unlike when setting it in the properties box, the value that I assign to the default value is not "stored" after the program is closed.  I need to be able to periodically change the default value if certain events occur without having to go into design view.

    My code looks like this:

    Forms!Chassis1!Ch1ProdCtfrm!Text63.DefaultValue = Text167

    Any help would be greatly appreciated

    Related Solutions

    Solution

    Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

    About this Solution

    View This Solution - Start Your 30 Day Free Trial
    Zone
    general
    Tags
    defaultvalue
    Participating Experts
    5
    Solution Grade
    A

    Replies

     by: jadedata

    Posted on 2003-08-19 at 19:36:21ID: 35589260

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: pigskindb

    Posted on 2003-08-19 at 19:40:07ID: 35589261

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 19:50:43ID: 35589262

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: rgcole

    Posted on 2003-08-19 at 21:00:20ID: 35589263

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 21:04:17ID: 35589264

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: pigskindb

    Posted on 2003-08-19 at 21:22:45ID: 35589265

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: pigskindb

    Posted on 2003-08-19 at 21:23:51ID: 35589266

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: alanwarren

    Posted on 2003-08-19 at 21:29:09ID: 35589267

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: rgcole

    Posted on 2003-08-19 at 21:31:02ID: 35589268

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 21:36:17ID: 35589269

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: pigskindb

    Posted on 2003-08-19 at 21:37:51ID: 35589270

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 21:38:03ID: 35589271

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: alanwarren

    Posted on 2003-08-19 at 21:38:17ID: 35589272

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: pigskindb

    Posted on 2003-08-19 at 21:40:22ID: 35589273

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: alanwarren

    Posted on 2003-08-19 at 21:46:42ID: 35589274

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 21:46:49ID: 35589275

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 21:48:34ID: 35589276

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 21:48:52ID: 35589278

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: alanwarren

    Posted on 2003-08-19 at 21:50:38ID: 35589279

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: pigskindb

    Posted on 2003-08-19 at 21:51:39ID: 35589280

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: pigskindb

    Posted on 2003-08-19 at 21:54:01ID: 35589281

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 21:54:42ID: 35589282

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: alanwarren

    Posted on 2003-08-19 at 21:57:01ID: 35589283

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 22:02:34ID: 35589284

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 22:03:31ID: 35589285

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: rgcole

    Posted on 2003-08-19 at 22:13:41ID: 35589286

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: pigskindb

    Posted on 2003-08-19 at 22:17:33ID: 35589287

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 22:24:03ID: 35589288

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: rgcole

    Posted on 2003-08-19 at 22:25:13ID: 35589289

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-19 at 22:33:19ID: 35589290

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: Poppekop

    Posted on 2003-08-20 at 00:45:09ID: 35589291

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: 1William

    Posted on 2003-08-20 at 03:41:59ID: 35589292

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-20 at 06:17:24ID: 35589293

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: Poppekop

    Posted on 2003-08-20 at 10:51:28ID: 35589294

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: pigskindb

    Posted on 2003-08-20 at 13:17:12ID: 35589295

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: pigskindb

    Posted on 2003-08-20 at 13:21:24ID: 35589296

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

     by: jadedata

    Posted on 2003-08-20 at 13:37:31ID: 35589297

    All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

    Log In

    Forgot your password?Sign up

    Top Experts

    1. jimpen

      3,600

      0 points yesterday

      Profile
    2. boag2000

      2,000

      0 points yesterday

      Profile
    3. als

      1,360

      0 points yesterday

      Profile

    BrowseAre you an Expert?