Consulting

Results 1 to 11 of 11

Thread: Solved: Form fields not working as they were

  1. #1
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location

    Solved: Form fields not working as they were

    Hello, still figuring out Access here. Working with AC 2003. My form is not working correctly anymore and I don't know why. I'm having serious issues this morning, a very, very bad day. I can't log in to upload it, it's too big for the site (~500kb). Ugh. Can email if desired. This is driving me batty.

  2. #2
    VBAX Master XLGibbs's Avatar
    Joined
    Jan 2006
    Location
    state of confusion, but vacation in denial
    Posts
    1,315
    Location
    Not working at all? YOu can send it to me at my home address Zack, and I can take a look tonight after work (about 4 hours from now)......if you don't get resolution before then...
    If you have posted the same question at multiple forums, please read this IMPORTANT INFO.

    Please use the thread tools to mark your thread Solved


    Please review the Knowledge Base
    for samples and solutions , or to submit your own!




  3. #3
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Thanks Gibbs, I appreciate it. If I don't have it resolved by then, I'll shoot it over to you.

  4. #4
    VBAX Master Norie's Avatar
    Joined
    Jan 2005
    Location
    Stirling, Scotland
    Posts
    1,831
    Location
    Zack

    What's the actual problem?

  5. #5
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    The form which was working now gives me an error. I have a button on the form which does a DoCmdGotoRecord , , acNewRec (or whatever it is). It errors out right there. I think it's the fields I'm using, I don't think they're working as they should.

    I'm not very good at describing this; I really wish I could have uploaded it.

  6. #6
    VBAX Master Norie's Avatar
    Joined
    Jan 2005
    Location
    Stirling, Scotland
    Posts
    1,831
    Location
    Can you not zip it?

    What error messages are you getting, if any?

  7. #7
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Hi Zack,
    Have you got the sample files from here? I got a lot of my basic code from these.
    Regards
    Malcolm
    http://msdn.microsoft.com/library/de...dbdownload.asp
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  8. #8
    VBAX Master XLGibbs's Avatar
    Joined
    Jan 2006
    Location
    state of confusion, but vacation in denial
    Posts
    1,315
    Location
    If a goto record statement is erroring out, either the recordset is not identifying properly, or the RowSource query is out of whack.

    Did anything change at all since it worked properly? (A new field, or deleted field or anything like that?)
    If you have posted the same question at multiple forums, please read this IMPORTANT INFO.

    Please use the thread tools to mark your thread Solved


    Please review the Knowledge Base
    for samples and solutions , or to submit your own!




  9. #9
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    The ControlSource changed. I thought I set it right, but guess I didn't. It was screwing up and giving me a #Name! error, so I tried to reset it .. to no avail.

  10. #10
    VBAX Master XLGibbs's Avatar
    Joined
    Jan 2006
    Location
    state of confusion, but vacation in denial
    Posts
    1,315
    Location
    Zack, few things after seeing it.

    Make sure the combo box Control Source properties are set to the appropriate column names for what feild will recieve the data on an update record (the row source statements you have are fine, but can be trimmed to exlude the ID column if you want)

    Also, be sure that your Form data source is the TABLE Soil Samples and not the query Last Soil Data. When I made those 3 changes (simple changes), the form worked fine.
    If you have posted the same question at multiple forums, please read this IMPORTANT INFO.

    Please use the thread tools to mark your thread Solved


    Please review the Knowledge Base
    for samples and solutions , or to submit your own!




  11. #11
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Perfecto!!!

    Thanks to all of you! Gibbs found the solution perfectly!

Posting Permissions

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