Recent content by pauld118

  1. P

    Text is cut in memo datatype textbox in Report

    Hello team! Here's another issue with Access 2007. I have a subform that have two group headers; Branch_Name and Commit_ID. The Detail of the subform have four columns; Section (Text), Date Completed (Date), Action Progress (Memo), Action Location (Memo). The issue that I am having right now...
  2. P

    Calculated field considering 45 labor days

    Hello all, I have two text boxes in a form called StartDate and TargetDate. What I'd like to do is when I enter the StartDate, the TargetDate textbox will be filled automatically considering 45 labor days from the StartDate. So, the date shown in the TargetDate will refer to 45 labor...
  3. P

    IF statement for data range

    wow!!! It works perfectly!!! You're the best !! Thanks!!!
  4. P

    IF statement for data range

    Hello everyone! I have the following issue. I have two fields in one table named [TargetDate] and [DateActionClosed]. I'd like to create a querie that will evaluate wich fiscal year represent the date in those fields. For instance, let's say that FY2011 is from 10/1/2010 to 9/31/2011. If...
  5. P

    VBA Copy primary Key to table when a button is clicked

    Yes, that is true. I forgot to tell that I don't wanna use subform. Because subform can only been seen in a tabular way.
  6. P

    VBA Copy primary Key to table when a button is clicked

    Hello, I have two forms that were created to enter data. The main form creates a record in the Parent Table. The second form populates a Child table which have a relationship with the Parent Table. The foreing key in the Child Table is = CaseID and the Primary key in the Parent Table is =...
  7. P

    Create a button in a form to add new record that will be saved in other table

    I apologize Jeannette but is not working. This is what I am doing... On the MainForm: Before update event DoCmd.OpenForm “InspectionFormName”, , , , , acDialog,Me.CaseID Button on the tab --- Click Event DoCmd.OpenForm “InspectionFormName”, , , , , acDialog If Me.Dirty = True Then Me.Dirty...
  8. P

    Using a form to update two tables

    Galaxiom, would you please write de code. Idk what's the open argument??
  9. P

    Using a form to update two tables

    Thanks! Let me rephrase it :). First, the Details of a form is the section that is belos the Form Header in Design view. As Header and Footers of the Forms, the Detail o can be visible or invisible. Having said that my question is, should I write the code on the On Click Event of the button...
  10. P

    Size and close splash screen

    Hello, I would like to resize a splash screen. I also create the event to open splash screen and then to open a Main Form. How can I create a command to order the database to close the splash screen??? Are ther like standards sizes for splash screen??
  11. P

    Using a form to update two tables

    Hello, I have a form (ECDataEntry; Main Form) that will populate a Case ID table (Parent Table). CaseID table has a primary key (PK), that is the foreign key (FK) of 3 tables (Child Tables). These 3 tables also have forms that populate them. For instance, one of tables where PK acts as a FK is...
  12. P

    Create a button in a form to add new record that will be saved in other table

    When you suggested the below code and wrote the note about the subcontrol name, to what did you refer?? That might be the thing that I am doing wrong ----------- start code DoCmd.OpenForm “InspectionFormName”, , , , , acDialog When user clicks the close button on the Inspection form, your code...
  13. P

    Create a button in a form to add new record that will be saved in other table

    When I do this the following error pops up The action or method requires a Form Name argument. Any idea why???
  14. P

    Create a button in a form to add new record that will be saved in other table

    That worked really well. But now I have the problem that when the inspections forms opens I cannot add data because the foreign key (CaseID) in the inspection table is empty. The CaseID is the primary key in the MasterTable which is the foreing key in the inspection table. There is a...
  15. P

    Change label caption dynamically

    Thanks Gina! Although your code work I used missing's code because does it dynamically. The issue that I have now is that the label only shows the bound column. The combo box has the facility name and the state where is located. I would like to change the label like something like this ...
Back
Top Bottom