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!

Recent content by PeasNCarrots

  1. PeasNCarrots

    Words don't always mean you think. Or do they?

    How about when people say, "It's always in the last place I look" when they are looking for something.
  2. PeasNCarrots

    Removing filter

    Try this ) me.FilterOn = False me.Filter =
  3. PeasNCarrots

    Insert Excel Code Using Access

    Let me know if it works for you.
  4. PeasNCarrots

    Insert Excel Code Using Access

    You may have to change security settings in EXCEl to allow trusted access to visual basic project. Sub AddcodetoExcel() Dim objXl As Excel.Application Dim objWkb As Workbook Dim objSht As Worksheet Set objXl = New Excel.Application objXl.Visible = True Set objWkb = objXl.Workbooks.Add Dim...
  5. PeasNCarrots

    Continuous forms

    I dont see why you will not be able to do this with a continuous form. Afterall you are just dealing with a recordset. From Help File Public Sub BeginTransX() Dim cnn1 As ADODB.Connection Dim rstTitles As ADODB.Recordset Dim strCnn As String Dim strTitle As String Dim...
  6. PeasNCarrots

    Insert Excel Code Using Access

    Use the recordmacro method. Make sure you reference Excel Object Library.
  7. PeasNCarrots

    Skipped Numbers

    So the ticket #'s start with 200000 all the way to 215000?
  8. PeasNCarrots

    email based on data in access

    Simply add a field to your table say called DateAdded Then modify your query on the website to append the current date/time to this field. Now all you have to do is query the DateAdded field for yesterday's date.
  9. PeasNCarrots

    Find Most recent date in array containing dates

    I can't belive I did not notice that. Must becoming blind. Thanks. Santa will be very nice to you this year.
  10. PeasNCarrots

    Most updated record to excel spreadsheet (please continue)

    If you have a primary Key, you can query against the last updated record. Private Sub Command11_Click() Dim sNewRec As Integer Dim rs As Recordset Set rs = Me.RecordsetClone With rs .AddNew or .Edit .Fields("Fieldname") = "some Value" .Update .Bookmark = .LastModified sNewRec =...
  11. PeasNCarrots

    Find Most recent date in array containing dates

    Here is my code.. Sub TestArray() Dim test(2) test(0) = CDate(#4/2/2004#) test(1) = CDate(#3/3/2005#) test(2) = CDate(#3/5/2002#) MsgBox FindMax(test) End Sub Function FindMax(A() As Variant) As Variant Dim Start As Integer, Finish As Integer, i As Integer Dim max As Variant Start =...
  12. PeasNCarrots

    Bookmark says 'No Current Record'

    If you are using Access 2000 or higher I suggest start using ADO. Private Sub Command11_Click() Dim sNewRec As String Dim rs As Recordset Set rs = Me.RecordsetClone With rs .AddNew .Fields("Name") = "Paul" .Update .Bookmark = .LastModified sNewRec = .Fields("Name").Value End With End Sub
  13. PeasNCarrots

    email based on data in access

    Anything is possible with programming.. First I need a bit more info. Do you have a way of knowing whether new items were added to the table i.e. maining a log. Also, how is the information being added to the table (via form, imported, copy/paste, etc.) Are you going to store the list of...
  14. PeasNCarrots

    What is the best programming language for .NET

    Why would you choose C# over Visual C++ ?

Part and Inventory Search

Back
Top