Search results

  1. G

    Mouse Wheel Code

    Someone out there must have a working copy of this code I could have a look at. Please help me
  2. G

    Mouse Wheel Code

    Someone out there please help
  3. G

    Mouse Wheel Code

    I have the following code which is inserted into each form to disable the mouse wheel, the problem I am having is that it works fine for the main form but as soon as it is entered into a subform i get the following problems 1) I can't select any fields using the mouse 2) I get an error on...
  4. G

    Duplicate data in multiple forms

    Why would you want to duplicate data, the reason for having relational database is to cut down on unneeded data, The best solution would to have the Patient Visit Table as a subform on the patient Demographics form, this will show the current patient with all the visits for that patint listed in...
  5. G

    Dates

    I think this is what you are looking for Me!OutPutDate = Format("31/10/" & DatePart("yyyy", Me!InPutDate), "dd/mm/yy") [This message has been edited by Geoff Codd (edited 04-16-2002).]
  6. G

    date manipulation- question

    I use this to convert the entered date to the last day of the month you should be able to play with this to get what you want Me![End of Month Billing Date] = DateAdd("d", -1, Format("01/" & Format(DateAdd("m", 1, Me![End of Month Billing Date]), "mm/yy"), "dd/mm/yy"))
  7. G

    Using 2 combo boxes to fill a text box

    I've just sent you an example database with an example of how to do it
  8. G

    Using 2 combo boxes to fill a text box

    what tables do you have, do you have one for investment fund Types and One for Invset ment fund interest rates and applicable date that they became effective
  9. G

    Input box input mask?

    the criteria works the sam as if you used an input box, example: if you enter the date 01/04/02, in the field first date on the form Date selection and create an after update event on the date field or create a button to open the query it will automatically open the query with all records for...
  10. G

    Input box input mask?

    I don't think you can, the way I do it is to create a form with a single unbound text box and set it's input mask as Short Date and also include a calender control so the user can select the date from that and ten in the query criteria I enter the following [Forms]![Date Selection]![FirstDate]...
  11. G

    recordsetclone not working

    Heres the code I use and it works a treat Private Sub Form_Current() If Me.NewRecord Then Me!lblNavigate.Caption = "New Order" Else With Me.RecordsetClone Me.RecordsetClone.MoveLast .Bookmark = Me.Bookmark Me!lblNavigate.Caption = "Order " & _ Me.CurrentRecord _ & " of " & .RecordCount End With...
  12. G

    backing up database via button

    you can't back up a database while it's open but you can back up the tables which is what i do, look at transfer text under help, I do it using a macro and backup to csv files
  13. G

    2001/001 index

    look at DMAX in the help files
  14. G

    More Combo Box Confusion

    if you look at the properties of your combo box you can specify which column is the bound one change that from 1 to 2 and it should work fine
  15. G

    Want to force order of data entry on a form

    They way i do it is to disable a control until the previous control has been completed look at enable in the help files
  16. G

    Counting Yes and No for beginners

    Here is some sample sql which i use to count the number of jobs per survey (Number of times the surveyors name appears in the orders table), you should be able to play with this to meet your needs SELECT [GCH Order].[Surv Full Name], Count([GCH Order].[Surv Full Name]) AS [CountOfSurv Full...
  17. G

    Combo label within a sub form

    i don't think that you can give a label the same name as the combo box
  18. G

    report calculations

    look at the nz function in help, it converts null values to zero for calulations
  19. G

    Display Winners

    Look at TopValues Property in the Help Files
  20. G

    code to disable an item

    Try This Private Sub ABE_Part_AfterUpdate() If Me!ABE_Part = -1 Then Me!AccompABEBeginningBE.Enabled = False Me!AccompABEBeginningLit.Enabled = False Me!AccompABEBeginningLitDate.Enabled = False Me!AccompABEIntermedHi.Enabled = False Me!AccompABEIntermedHiDate.Enabled = False...
Back
Top Bottom