Search results

  1. R

    Help on creating own forum site

    Thanks for the advice I'll check out Vbulletin. Cheers
  2. R

    Help on creating own forum site

    I have been an avid user of this site and the MrExcel site to help in my work developing applications for work. They are an impressive tool in my job now. I am thinking of setting up something similar to support our client/licensee base and was wondering if anybody could provide some guidance...
  3. R

    Subtracting Dates, getting whole months

    Found answer thanks Found that by simply modifying the DateDiff function I could obtain my answer.MonthsElapsed: DateDiff("m",[customers]![startmonth],[startdate]) Works a treat.
  4. R

    Subtracting Dates, getting whole months

    I found the following code on this site in a search for a method to subtract two dates ie [Startdate] and [EndDate] and display the result as a whole number. ie 2, 6 etc. This code finds the difference but displays the results as 1 year 5 months 2 days, where I need the equivalent as 17. Can...
  5. R

    DateDiff/Format problem

    Moving DB to another machine RG That link did help explain what was going on, Thanks. This does highlight the following problem:- I am building a DB in A2k with data transfer to Excel. I have had to add a reference to the MS Windows Common Controls 26.0 (SP4). I need to be able to make the DB...
  6. R

    DateDiff/Format problem

    I don't know about that RG. If it's been a long "TIME" since you were born it's going to have a significant impact on your age. :) I'll check that link. Thanks for the suggestion.
  7. R

    DateDiff/Format problem

    I have been using the following code in a query to calculate age. It has worked fine in my Office 2k system with service pack 3. I have installed the database on other office 2k machines and had to upgrade to service pack 3 or else I received Undefined function "format" in expression errors. I...
  8. R

    Value isn't valid error

    no recordset Hi RG. Tried the syntax with no luck. Then tried the diagnostics and as you predicted I get 0 on the new ones. Is it problem with my Income query? Can't understand why it works at times and then doesn't.:(
  9. R

    Value isn't valid error

    Thanks Thanks Neil and RG for your suggestions. I will see how they work. Hey RG after all that work and apparent success I came in on Monday and blow me down, it was doing it again. (I am getting a good lesson in controlling frustration). Any way I got rid of the After Update code on each of...
  10. R

    Display data in a control

    Hopefully a simple one that is eluding me at the moment. I have a control on a sub form that refers to a value on another subform. When I enter data in the controls subform it will display the correct answer. However, when I close the form and return to it later the control is blank and will...
  11. R

    Value isn't valid error

    I have a sub form in a tabbed control that collects client income data. A subform of that [Tax table calc frm] calculates the tax payable and the following code displays the result in the [c1TaxMedi] and [c2taxmedi] fields on the income form. Private Sub Command122_Click() 'Calculate taxation...
  12. R

    Deleting records in a subform

    OK I'll upload to our website. Get back to you in a minute. May need to give you a sign on and password. How can I do that securely?
  13. R

    Deleting records in a subform

    Hmmm, not sure what your after but I can tell you that the popup form is not modal and border style is sizeable not dialog (if that is significant). What I don't understand is that after doing the delete by using the popup form the word #deleted appears immediately in the display subform. If I...
  14. R

    Deleting records in a subform

    Now you have me stumped. What does the "ACDialog" argument do. I haven't knowingly come upon that one yet. Can't find it in help. Heeellllp! By the way your last message was received here at 5.00pm Thursday, 3 November. So I figure your about 9 hours ahead or 15 hours behind. Whatever, you've...
  15. R

    Deleting records in a subform

    :confused: OK I have added a me.requery to the open form button (no change except that if I open it again the #deleted vanish) I added a me.requery to the onclose event of the input pop up form with no change. It is puzzling that the desired outcome is achieved by moving to the next record or...
  16. R

    Deleting records in a subform

    I will do the refresh thing now. Private Sub capmvmntinputbtn_Click() On Error GoTo Err_capmvmntinputbtn_Click Dim stDocName As String Dim stLinkCriteria As String stDocName = "CapitalMovementFormInpt" DoCmd.OpenForm stDocName, , , stLinkCriteria Requery...
  17. R

    Deleting records in a subform

    Done but no change. Still displays the #delete until I press the save button.
  18. R

    Deleting records in a subform

    Hey RG here it is Private Sub Form_AfterUpdate() DoCmd.Echo False Forms![Customers]![CapitalMovementQry].Form.Requery DoCmd.Echo True End Sub Would the fact that the delete button controls the delete function affect the after update event of the form that it is placed on. IE the add and...
  19. R

    Deleting records in a subform

    Hi RG The form that I want to update is a subform in a tabbed control. The popup form holds the requery command in its after update event. As I mentioned this works well for new records and changes but not for deletes. I have now gotten around it by placing a save button on the subform so that...
  20. R

    Deleting records in a subform

    I have a "display only" subform that is updated by a popup form. If I add or amend an entry the details of the changes are displayed immediately in the display window by requerying the form "afterupdate". However, I have a delete button on my popup form which will delete a record but replaces it...
Back
Top Bottom