Recent content by wingforward

  1. W

    Using SQL to get data into a variable

    That's a whole lot simpler than what I was trying. Thanks.
  2. W

    Using SQL to get data into a variable

    I'm trying to use a simple Select statement to get data into a variable to set a field and I have two questions. Is this possible? What am I doing wrong? 'Start Code Dim strCodeID as String strCode ID = Me.CodeID Dim SQLCmd as String SQLCmd = "SELECT Description FROM tblCodes WHERE CodeID = "...
  3. W

    does this already exist?

    I've googled around and haven't found much. But Google doesn't index people's brains, yet, so I thought I'd ask. I'm not looking for a CRM (though that is an aspect of the app), or really samples of databases. I'm looking for something specifically geared towards Economic Development. If it...
  4. W

    Export Tab with dynamic filepath

    And I was in a stressful mood and overreacted. Thanks for the example, I haven't had a chance to look at it yet though I'm sure it'll do the trick.
  5. W

    does this already exist?

    I was approached by my city's Economic Development Department to build them a database to track the help they provide businesses. Has anyone heard of an already existing application that does that? It doesn't have to be Access.
  6. W

    Export Tab with dynamic filepath

    Do you truly not understand what I need to know? Or you don't know the answer and like to be clever? How do I export a query to a tab delimited file with a dynamic file path?
  7. W

    Export Tab with dynamic filepath

    I want to export a query as a tab delimited file to the desktop of whichever user is accessing the database. To get tab delimited, it seems I need a specification but then I have to specify a filepath. I'm capturing the users desktop path and want to push the file there. Thoughts?
  8. W

    Difference between Dynaset and Dynamic

    What's the difference between opening a recordset as dbOpenDynaset and dbOpenDynamic? Thanks, DJ
  9. W

    timing issues with DCount() before/after update

    Thanks dcb, that's an easy enough command. But I like your other idea too. I'm still new to using recordsets, but I think to do that I'd have to load the recordset using a SQL statement to find other records with the same MembershipID and then Loop through them updating each individually. Is...
  10. W

    Query "Show box"

    I don't know. I have a table of Memberships and a form to show the Membership data. I have some unbound text boxes that I want to use to filter the records shown: by Company name, Contact Name, Renewal date. I've set an AfterChange event on those text boxes to Requery the form. To make...
  11. W

    timing issues with DCount() before/after update

    I have a subform that shows Email addresses. Email addresses have the option of being marked "Newsletter". Users can enter as many e-mail addresses per contact as they want, but only one can be selected as "Newsletter". I'm trying to enforce this by using an event trigger on the field. I'm...
  12. W

    Query "Show box"

    I have a query as the basis for a form. I'd like to include another query in that query in order to narrow down the found set of records. I don't need any data from the subquery on the form. The recordset is now not updateable which doesn't work for me. The recommendation I've seen is to...
  13. W

    Export to CSV

    I'm trying to create a routine that will export query results to a csv. This is the code I have so far, but the TransferText command isn't working. DesktopPath() is a function returning the, surprise, Desktop Path. Dim strQueryName As String Dim strFileName As String Dim strDir As String...
  14. W

    Limit to one of a type of record

    I've got a table of People and a table of PhoneNumbers. PhoneNumbers can have a Type (Office, Fax, Mobile, etc) and be marked specifically as "Publish". People can have as many phone numbers as they like on record, but only one of the Type Fax and that is marked "Publish" and one of a non-Fax...
  15. W

    Invalid procedure call

    I'm trying to parse an e-mail address in query (to filter out duplicate domain names for a one time debugging routine). My code is Mid(Email.Address, InStr(Email.Address, "@"), 100) I'm getting an "Invalid procedure call" error. Why is that? The InStr() part works on its own and the Mid()...
Back
Top Bottom