Recent content by FranD

  1. F

    DSum

    Thanks Again Viola!! Thanks again Wayne. Your help is much appreciated. Fran
  2. F

    DSum

    One Final Question Now can you tell me how to have the result be displayed as currency?? Thanks again!
  3. F

    DSum

    Thank you! Thank you.. thank you... thank you...!! It works! ;)
  4. F

    DSum

    I have the following expression in a Totals query. The error message I'm getting is "This expression is typed incorrectly or is too complicated to be evaluated...." 12MoChgs: DSum("[Charges]","[AR_Rec]","[Month]">=(DateAdd("m",-11,[Forms]![frmAR_RecDialog]![RptMonth]) And...
  5. F

    After Update - using subform values

    Using SubForm Values in Code Thanks Wayne, I do have a text field in the form footer of the subform which sums the $ value of each visit. But the problem is, not all data entry people will always check to verify that that text field matches the total amount entered on the Batch form - if the...
  6. F

    After Update - using subform values

    I have a form (frmBatchInfo) which captures Charge Batch total information (ie, total $ per batch). This form contains a subform (frmSubFormVisitDetail) which captures the $ per visit. The sum of the $ per visit should equal the total amount entered in the main form. Therefore, I want to...
  7. F

    Sub Form Calculation

    But where does the "=me.SubForm Control.SubForm Field" go? As you suggested in your first reply, I added a text box to the subform in the form footer and simply calculated a sum of the field I wanted. I named that calculated control "totalRemoved." I then added a text box to the main form...
  8. F

    Sub Form Calculation

    Thanks Mike, I tried what you suggested, but it's still not working. In the text box on the main form, which refers to the calculated total (in the footer of the subform) I get a "#Name?" error - and in the text box which includes that text box in the grand total calculation I get an "#Error"...
  9. F

    Sub Form Calculation

    I'm trying to add a calculated control to a form which includes 4 fields from my main form and one from a sub form. I can't figure out how to refer to the sub form control in the expression - here's what I've tried...
  10. F

    IF, Then, Else Dilema

    I currently have a query that calculates each Department's "Daily Average Charge as follows ([SumOfCharges] / 365). Here's the problem; 2 of the departments are new to the system and don't have 12 months of charges - so we want to divide their total charges by the number of days they've been...
  11. F

    Refer to Control within a Tab Control in VBA

    I have a form which contains several controls, including command buttons and one subform. There is quite a bit of code in place to validate the data. Unfortunately, so many fields have been added that I now need to use a tab control with two tabs - I've divided the data entry fields between...
  12. F

    Adding A Memo Field to a Totals Query/Report

    I have a report which is based on a query which uses totals. I want to add the "Comments" field to the report - which of course is a Memo Data type. The only way that I've found to be able to do so, is to select "Last" as the Total Category. However, this will only give me the last comment...
  13. F

    Trim Expression

    Thanks Steve, Changing the name was indeed the only thing that worked. Are there other Access names that are not good to use as field names? If so, where can I get a list of them? Thanks again. Fran
  14. F

    Trim Expression

    I put a control on a report that simply concatenates the values of two fields (Division and Section). Here's what I have =Trim([Division]&" - "&[Section]) It returns #Error. I think the problem is the name of the field - "Section". I experimented by replacing the Section field with another...
  15. F

    Validation Code for SubForm

    I have a subform named frmReturnedBatches on a main form named frmCloseBatch. Basically, if a batch is being returned due to problems, the user must enter a date of return. The subform is a tabular form which allows users to enter several reasons for the return into a field named [Problem]...
Back
Top Bottom