Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. chillwa

    How do you add a field to an existing form NOT a newly created form

    I forgot to say, I also think the problem may have been that I did not specify the form name as the parent for the new textbox control. I changed two things at once, so I really didn't isolate the problem. But it works
  2. chillwa

    How do you add a field to an existing form NOT a newly created form

    Well, I finally got it to work. I took the code out of the form and added it to a module and it worked. Here is the code I used Sub NewControlstable1() Dim frm As Form Dim ctlLabel As Control, ctlText As Control Dim intDataX As Integer, intDataY As Integer Dim intLabelX As...
  3. chillwa

    How do you add a field to an existing form NOT a newly created form

    Well, I tried it on a new computer with a new database in version 2003 and I get the same error message. This time I get the error message, "can't find field5" Before I was getting, "can't find field13" then I got the error message "can't find field14" with my first application. Oh well...
  4. chillwa

    How do you add a field to an existing form NOT a newly created form

    this line is giving me the code Set ctrltext = CreateControl("Table1", acTextBox, acDetail, "", "field4") I'm currently working on Access 2002, maybe I need to switch to Access 2003 and try it.
  5. chillwa

    Code to check the datatype property of a form control

    Thanks for the info. This will work!!!
  6. chillwa

    How do you add a field to an existing form NOT a newly created form

    Hi, I already opened the form in design mode, see above code, but I keep getting the error message "Run-time error '3799' Could not find Field 'Text14' " My code is the first code (the second code is just some generic code that works for new forms - it was an example from Microsoft) Thanks,
  7. chillwa

    Code to check the datatype property of a form control

    what is the one line code to check what data type a textbox control on a form is? I need to find out if a control is a textbox and if so, if this textbox data type is a long integer. Any help would be appreciated.
  8. chillwa

    How do you add a field to an existing form NOT a newly created form

    How can I add a field to an existing form NOT a newly created form using VBA? I currently have VBA code creating a new field in a table. This table has an associated form. I want this newly created table field to also appear in the form automatically through vba. I tried to create a control...

Part and Inventory Search

Back
Top