Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: terre
  • Order by date
  1. terre

    Highest number in each record

    Of course I meant Row, not column Sorry.
  2. terre

    Highest number in each record

    Hi folks This should not be so hard.... I have a table with columns A,B,C,D A B C D 21 23 15 20 24 21 23 29 23 21 26 21 I want column E to show the name of the column with the largest number as shown. A B C D 21...
  3. terre

    query to find recordset for list box

    Yay! Thanks Have a great Xmas! Terre
  4. terre

    query to find recordset for list box

    The code strFilter = "SELECT Contacts.ID, Contacts.[First Name], Contacts.[Last Name], [First Name] & ' ' & [Last Name] " strFilter = strFilter & "AS CName, Contacts.IDate, DateDiff('d',[IDate],Now()) FROM Contacts " strFilter = strFilter & "WHERE " & (((DateDiff("d", [Contacts.IDate]...
  5. terre

    Import Outlook calendar to access

    I note that it is easy to link Ms Access 2007 to the Outlook Calendar. However, when I do so the startDate and EndDate fields aren't there. I wish to be able to see appointment dates from within the access database. Is it possible?
  6. terre

    Adding data from access to a word document using bookmarks

    .ActiveDocument.Bookmarks.Add "ClientID", Range:= .Selection.Range Works!! Thanks for your help, and support, the world is a better place for the support of you guys out there. PHV in particular this time. Terre
  7. terre

    Adding data from access to a word document using bookmarks

    Thanks PHV. A step closer I think, but now gives the "Bad bookmark name." message. I have checked, and the bookmarks are named exactly as in code above. It still stops after adding the first bookmark. Any suggestions? Terre
  8. terre

    Adding data from access to a word document using bookmarks

    I am trying to add some data to a word document. I found this code in FAQ, and it seems to work ok, but stops after adding only the first bookmark. Dim dbs As Database Dim objWord As Object Set dbs = CurrentDb Set objWord = CreateObject("Word.Application") With...
  9. terre

    Form not work unless I switch to Design view and then back again.

    I have a form with a combobox (cboGoToContact) In the combo box After Update I have the following, to select a record for the form, by selecting a value from the combobox [COLOR=blue]Private Sub cboGoToContact_AfterUpdate() ' Find the record that matches the control. Dim rs As Object...
  10. terre

    date

    Wow...easy as Thank you
  11. terre

    date

    Is there a way to format dates as 11th September 2001 21st July 2012 etc?
  12. terre

    Fill a Calendar Grid

    Thanks MajP I think there is something else going on here Your code looks and feels right.....but the dabtabase just "jams up" Thanks for trying though, and if you think of something else sometime, let me know Terre PS the CrossTab method works well
  13. terre

    Fill a Calendar Grid

    MajP Had tried to add the Set Still a problem What seems to happen is...well nothing actually The database seems to freeze and then I get a message saying its not responding. Always happens I might just try waiting it out while I have some lunch. Terre
  14. terre

    Fill a Calendar Grid

    The Query AbsenceQuilt has the fields [Date Absent], PartofDayAbsent, LengthAbs, absenceReason My code is Dim rs As DAO.Recordset Dim ctl As Access.TextBox Dim startDate As Date Dim recordDate As Date Dim txtBoxName As String startDate = T1 'StartDate stored in Forms!Term1Abs!T1 Set rs =...
  15. terre

    Fill a Calendar Grid

    MajP....where did that Aceman come from? Actually its the forms("yourFrmName").controls(txtBoxName) that is Null, therefore (I think) ctrl is Nothing Terre
  16. terre

    Fill a Calendar Grid

    Thanks Aceman, and Duane Aceman.....something not quite right......ctrl always appears to be Nothing ctrl = Nothing even though all the others seem right Any suggestions? Terre dhookum I will need to ponder the setting up of a table of dates, as I wont always have an entry every week. Thanks...
  17. terre

    Fill a Calendar Grid

    I have a calendar grid for a school term which has 11 Rows of 5 Textboxes. 11 weeks M,T,W,Th,F I have named these textboxes 1,2,3,4,........55 (For originality!!) I then have a query AbsQuilt which returns DateAbsent, and Reason for a student. DateAbsent Reason 1/2/2011...
  18. terre

    Format and option group

    ok...SORTED Thanks to MajP ...in another post I cruised at random I guess. In text boxes, Control Source is =IIf([1e]="1","P","") for n =IIf([1e]="2","P","") for s =IIf([1e]="3","P","") for o =IIf([1e]="4","P","") for u Wingdings 2 Font
  19. terre

    Format and option group

    I have an option group which returns values 1,2,3,4. I wish to represent this in a report, with a tick representing the value returned, in a column n = 1 ,s = 2,o = 3, u = 4 as in uploaded pic. This is fine if the report has only one record, however I get multiple ticks in a row when there are...

Part and Inventory Search

Back
Top