Results 1 to 7 of 7
  1. #1
    rescobar is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2013
    Posts
    30

    Building in a Search

    I created a simple product support FAQ data base with a form. There are 2 Cascading Combo lists, so the 2nd list is populated but the first list selection.


    User input goes like this: Combo List 1 Product (select a product) Combo List 2 Model (select a product model)
    Summary Field (this is a summary of an issue)
    Detail field ( this is text for detail of an issue)
    Solution field ( this is test for a solution)

    User will use a Search Form to locate an FAQ
    For a search I would like to include or not include Product and or Model. Also look for keywords in the text boxes. A search result with be one of more records in a form view.

    Where should I start?

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536

  3. #3
    rescobar is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2013
    Posts
    30
    I think this will get me to where I need to be for the search. However I ran into another issue I want to resolve first. I have a couple of text fields that are Data Type Text, I need to change those to Memo. However I cannot change the datatype. Any ideas?

  4. #4
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    Create a new table with all the fields you have in your existing table. Make the text fields in question memo fields. Create an append query from the first table and append the data into the new table. I am not sure if this will work, but I would make a stab it. You might this procedure with an update query if the append does not work.

  5. #5
    rescobar is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2013
    Posts
    30
    That worked. I had only a few records so I was able to rename tables and delete the orginal one. Now back to getting a search going. thanks.

  6. #6
    rescobar is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2013
    Posts
    30
    I hit what I sure is a small snag. In reference to the video my Clear Parameter button works. My search is not working, it's failing since it cannot find Object mainquery, this can be seen at 5:46 into the video.

    Private Sub Command33_Click()
    DoCmd.OpenQuery "mainquery", acViewNormal
    End Sub

    This part about building mainquery was not in the video but I assume I need to create a query to reference to.

  7. #7
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    What is the name of your query that you want to open? If it is not mainquery, then change the VB to the name of your query.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Building Queries
    By kje7713 in forum Access
    Replies: 1
    Last Post: 02-06-2013, 05:54 PM
  2. Building out hyperlink with VBA
    By rhewitt in forum Programming
    Replies: 24
    Last Post: 10-24-2012, 11:49 AM
  3. Building Relationship: one to many
    By Keeper in forum Access
    Replies: 1
    Last Post: 04-25-2012, 05:31 PM
  4. Building a FAQ
    By Karin in forum Access
    Replies: 5
    Last Post: 03-07-2011, 11:26 AM
  5. Building
    By jlech1805 in forum Access
    Replies: 1
    Last Post: 11-17-2010, 12:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums