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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by trystanhuwwilliams1

  1. trystanhuwwilliams1

    [b]Lunch Break Duration[/b]

    Good Afternoon, Two columns in my flexi time worksheet represent the time that I began and finished my lunch. By deducting the cell in the second column from the cell in the first, I get the duration of my lunch break for that day. How can I (in code) calculate the average lunch time...
  2. trystanhuwwilliams1

    [b]Application.FollowHyperlink Password dilemma [/b]

    Hi, Don't know if this is possible, but here goes.. I want to open password protected Excel Workbooks from an Access Form via the code below. strPath = "Dir\Path" & "\" & rs("file").Value Application.FollowHyperlink strPath, , True, False This works except that it won't allow a password to...
  3. trystanhuwwilliams1

    [b]Updating the Recordset [/b]

    Aha, As long as you don't use an operator identifier, such as ! or . then Access will accept a variable as a substitute for the field name.
  4. trystanhuwwilliams1

    [b]Updating the Recordset [/b]

    Thanks for you help Hap, but Access doesn't like the parenthesis around the variable name. I've also tried removing them without success. I may have to try a different approach. Trystan
  5. trystanhuwwilliams1

    [b]Updating the Recordset [/b]

    Hi, This should be fairly easy to answer. This is my code: rs.MoveLast tot = rs.RecordCount For x = 1 To tot With rs .Edit !Credit_Date = Null .Update rs.MoveNext End With Next x Is it possible to replace the field Credit_Date with a variable? Thanks, Trystan
  6. trystanhuwwilliams1

    [B]Linked Table Date Problem [/B]

    Hello there, I have a problem with a date field in a linked table. The table is linked to an Excel spreadsheet and one of the fields has a date format which sometimes contains null values. For example when a case has been completed I would put the completion date in this field, and it would...
  7. trystanhuwwilliams1

    [b] Replace part of a date[/b]

    Hi there, not sure if this can be done - but I've inherited a database (very old Dataflex) which is unfortunately still live. I've managed to set up a facility which exports the records to EXCEL. Once in EXCEL I need to perform some data conversion before I eventually export it to Access. To...
  8. trystanhuwwilliams1

    [b] Counting values over 0 in a report[/b]

    Thanks for your help Duane, but I need to COUNT the number of records where the value is greater than one, not SUM the values. Cheers, Tryst
  9. trystanhuwwilliams1

    [b] Counting values over 0 in a report[/b]

    Hi There, Can anyone tell me the formula to place in a control which will Count all the records in a report where the field value is greater than 0. Thank you, Tryst
  10. trystanhuwwilliams1

    [b]Which Query?? [/b]

    Please can someone help me with this problem, didn't get much sleep last night and I can't seem to work it out. I've got a main table with 2 fields = POST + NAME I've got 3 other tables which hold details of qualifications, training & professional memberships. The tables are linked via the...
  11. trystanhuwwilliams1

    [b]Main Form & Special SubForm[/b]

    Thank you Ken, I think the first option will suit my needs best. Thanks for your help
  12. trystanhuwwilliams1

    [b]Main Form & Special SubForm[/b]

    Hi, I hope someone can help me here?? I've got a basic form which holds info on individuals - Name, Job Title. Then I have 3 command buttons and a frame for a subform. I want each command button to open a subform containing different types of information relating to the individual. Each group...
  13. trystanhuwwilliams1

    [b]Send Worksheet to Mail Recipient [/b]

    Good Morning, I have a button on a worksheet which sends the worksheet to a Mail Recipient as below: CommandBars("Send To").Controls("Mail Recipient").Execute There are 50 users who have this facility (to email their timesheet) and for most people this works fine. However it doesn't work for...

Part and Inventory Search

Back
Top