Results 1 to 14 of 14
  1. #1
    aligahk06 is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Posts
    94

    Adding new field in form.

    Dear All,

    i have a existing table and i added two new fields in existing table.Now i want to add the newly added fields to my form.While opening the form in design view i added the field but the added field and their corresponding label could not be adjusted according to desired location.



    Please advise how could i add the newly added fields in my form and could adjust the field according to desired place.

    Please assist..

    rgds,
    aligahk06
    Attached Files Attached Files
    Last edited by aligahk06; 07-21-2020 at 02:14 AM. Reason: DB attach

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,540
    ...could not be adjusted according to desired location.....
    Do you mean that you can not resize the controls or move their position on the form.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    aligahk06 is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Posts
    94
    yes , I can't resize and move thier position according to my position.

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,540
    Can you post a copy of the db
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  5. #5
    aligahk06 is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Posts
    94
    Sir,

    DB attached .
    1. I want sdays control and expr1 control appear in form design view.
    2. i want an expression in sdays field value sothat it calculate how many days from drain date and current date.
    3. if refilldate field value entered then it shows in expr1 the text open.
    4. All control data appear in landscape view for print the form if required.
    Please assist,

    thank you..

  6. #6
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,540
    Quote Originally Posted by aligahk06 View Post
    Sir,

    DB attached .
    1. I want sdays control and expr1 control appear in form design view.
    2. i want an expression in sdays field value sothat it calculate how many days from drain date and current date.
    3. if refilldate field value entered then it shows in expr1 the text open.
    4. All control data appear in landscape view for print the form if required.
    Please assist,

    thank you..
    You have not attached the db
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  7. #7
    aligahk06 is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Posts
    94
    Please find in original post.
    Attached Files Attached Files
    Last edited by aligahk06; 07-21-2020 at 03:38 AM. Reason: DB attach

  8. #8
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,540
    There's not much that I can do with a db that's password protected
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  9. #9
    aligahk06 is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Posts
    94
    password : cc6432

  10. #10
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,540
    Quote Originally Posted by aligahk06 View Post
    Sir,

    1. I want sdays control and expr1 control appear in form design view.
    2. i want an expression in sdays field value sothat it calculate how many days from drain date and current date.
    3. if refilldate field value entered then it shows in expr1 the text open.
    4. All control data appear in landscape view for print the form if required.
    Please assist,

    thank you..
    1) I don't understand your problem here. I had no problem in dragging fields from the "Existing Fields List" to the Detail section of the form. I was also able to create new controls, resize them, move them and bind them to fields in the forms Record Source.

    2) Use:
    =DateDiff("d",[Drained Date],Date())
    as the Control Source property of a text box on the form.
    The field called "sdays" in the table is not required because you would not usually save calculations to an field in a table. The calculation should be done whenever and wherever it is required.

    3) Sorry, I don't understand your requirement

    4) Printing data is usually done with a report.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  11. #11
    aligahk06 is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Posts
    94
    Sir,
    thank you i did as per ur guidance.

  12. #12
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Hi

    PMFJI but I would imagine you are carrying out services on Drains for a Tenant.

    If this is the case then you need more than 1 Table.

    You need a table for the Tenants Details and another for the multiple times that the Drains are Cleared.
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  13. #13
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,540
    Quote Originally Posted by aligahk06 View Post
    Sir,
    thank you i did as per ur guidance.
    Another couple of things for your consideration......

    I think you have the wrong Control Source settings for the checkboxes?
    In any case, you might want to remove the field "DrainedClose" from the table. If "DrainedDate" has a value then then surely "DrainedClosed" is True and vice versa.
    My guess is that the same would apply to the field called "RefillOpen".
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  14. #14
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I would add that the Tenant name should be 2 fields. It is hard to split the name into first and last names if you want to sort/print by last name.


    BTW - "Tenent" should be "Tenant".

    Tenent was the common spelling in the 1600s for tenet, which was defined as a belief or principle.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 02-09-2019, 10:22 PM
  2. Replies: 7
    Last Post: 10-19-2016, 11:11 AM
  3. Replies: 3
    Last Post: 07-01-2016, 08:11 AM
  4. Adding New Field to Table and to Form
    By Luvflt in forum Access
    Replies: 8
    Last Post: 01-17-2014, 03:57 PM
  5. Form will not save after adding a field
    By avarusbrightfyre in forum Forms
    Replies: 1
    Last Post: 08-20-2010, 06:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums