473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Filter set to multiple variables and/or multiple queries for one filter?

70 64KB
I have a problem I've been trying to fix for the past two weeks.

I'm trying to create a search form which filters :

--Customers first name, last name, organization, shop name, office symbol

--Building Name, Room Name

--Equipment name, equipment serial number, equipment IP address

Each search box is a combo box. A user can filter by one combo box, or by several. So there is " AND " between each if statement.

At first I used a union query and set that query as the recordsource for the form. I needed it to be a union query due to the fact that customers could be a building POC or a room POC and I need to search through both. Also I need it to be an actual query (as opposed to a simple SQL statement in VBA code) because I need to use DCount to count records and tell the user if there are no results.

The problem w/ using one main query is that there are duplicate results in the form recordsourse. Like if Michael Smith, Andy Jones, and John Doe own BuildingFK 1, RoomsPK 10, if I filter by BuildingFK 1, RoomsPK 10 I will see 3 records.

Now, the purpose of this search form is to filter by all those search boxes and return ONLY Building ID and Room ID. I have list boxes which populate data based on those two text boxes.

After much research, I've determined it must not be possible to filter out (filter out, not delete from table) duplicates in the form recordsource. It seems I am going to need to instead either clean up my query and/or use several smaller queries as my filter string instead of one super large one.

I've tried using several queries instead of one large one, but it would only use one of them as the filter string, not all of them. I need to figure out how to return building ID and room ID either using several different queries, or maybe by having different variables as Me.Filter =.

Another idea I had was to use different variables for Me.Filter and then use different queries. Ex.
Expand|Select|Wrap|Line Numbers
  1. if cboSearchLastName is notNull then Me.Filter = strFilter1 else if cboSearchFirstName is notNull then Me.Filter = strFilter2 End If
But I do not imagine this to work.
Oct 14 '15 #1
9 1328
jforbes
1,107 Expert 1GB
ittechguy,

Based on the Schema and information from another of your posts http://bytes.com/topic/access/answer...es-union-query, I'll tell you what I would do to get things working smoothly, but I have a feeling that you won't like the recommendations.

First, before delving into the design, a few basics. It's easiest to use Access by letting Access do things the way it likes to do things. Things that Access likes to do:
  • A Single updateable RecordSet for a Main Form or Stand-alone Form's RecordSource.
  • A Single updateable RecordSet per SubForm OR a non-updatable Query if information is pulled from multiple sources.
  • To display information from a related table, use a SubForm and let Access main the linkage between the Form and SubForm. This may have to be manually setup at design time, but let Access select the records at runtime.
  • To restrict the amount of records being displayed for a Main Form, use a Filter. Access will then automatically select the records for any SubForms.
These aren't hard and fast rules, just things that make it much easier to use Access.

Your current Filter/Main Form deviates from this right away with the Query including Unions as the RecordSource for the Form which pulls in everything an then attempts to whittle it down based on the user filtering.

I think you would be better off creating a Main Form based on tblRoom (or tblBuilding), then creating SubForms to show the rest of the information related to the Room (Building), like the Building (Rooms) and People in those Rooms. Doing this, will make it so that all you have to do is Filter for the Room and all the SubForms will populate automatically.

Then the tricky part would be to determine which Buildings to include in the Filter based on what the user has supplied. I remember seeing a post related to this a few weeks ago where someone was recommending you use a IN() to Filter the Main Form. Their recommendation is based on having the Forms structured in the manner that Access likes, and it is still a valid recommendation. An example Query (not a Form Filter) using this technique from a project I've been working on looks like this:
Expand|Select|Wrap|Line Numbers
  1. SELECT 
  2.   Quote.QuoteNumber
  3. , Quote.Company
  4. , Quote.QuoteDescription
  5. FROM Quote
  6. WHERE Quote.QuoteNumber IN (
  7.    SELECT LineItem.DocNumber
  8.    FROM LineItem
  9.    WHERE LineItem.Description Like '*test*') 
  10. OR Quote.QuoteNumber IN (
  11.    SELECT Jobs.QuoteNumber 
  12.    FROM Jobs
  13.    WHERE Jobs.Description Like '*test*')
I've made it a little more readable, but for this example, the User enters "test" into a TextBox and the following SQL is generated to get all the Quotes where for any related table, the description contains "Test". For your task, it would be to generate the WHERE clause to apply to the Main Form, then all the SubForms would all be automatically populated.

So from some of the VBA you have supplied all ready, you can generate some code like this that you can use to Filter your Main Form:
Expand|Select|Wrap|Line Numbers
  1. ' First Name
  2. strWhere = strWhere & "tblRooms.RoomsPK IN( "
  3. strWhere = strWhere & "SELECT tblRoomsPOC.RoomsFK "
  4. strWhere = strWhere & "FROM tblRoomsPOC "
  5. strWhere = strWhere & "INNER JOIN tblCustomer "
  6. strWhere = strWhere & "ON tblCustomer.CustomerPK = tblRoomsPOC.CustomerFK "
  7. strWhere = strWhere & "WHERE tblCustomer.FirstNameLIKE '*" & Me.cboSearchFirstName & "*' ) AND "
  8.  
  9. ' Last Name
  10. strWhere = strWhere & "tblRooms.RoomsPK IN( "
  11. strWhere = strWhere & "SELECT tblRoomsPOC.RoomsFK "
  12. strWhere = strWhere & "FROM tblRoomsPOC "
  13. strWhere = strWhere & "INNER JOIN tblCustomer "
  14. strWhere = strWhere & "ON tblCustomer.CustomerPK = tblRoomsPOC.CustomerFK "
  15. strWhere = strWhere & "WHERE tblCustomer.LastName LIKE '*" & Me.cboSearchLastName & "*' )  AND "
  16.  
  17. ' Building
  18. strWhere = strWhere & "tblRooms.RoomsPK IN( "
  19. strWhere = strWhere & "SELECT tblRooms.RoomsPK "
  20. strWhere = strWhere & "FROM tblRooms "
  21. strWhere = strWhere & "INNER JOIN tblBuilding "
  22. strWhere = strWhere & "ON tblBuilding.BuildingPK = tblRooms.BuildingFK "
  23. strWhere = strWhere & "WHERE tblBuilding.BuildingFK LIKE '*" & Me.cboSearchBuildingName & "*' ) AND "
  24.  
This code is pretty basic and most likely has some bugs in it. It also doesn't address if the user hasn't supplied a value, which could be taken care of by some if statements. Anyway, hopefully it gives you an understanding of another approach to what you are trying to accomplish.

Lastly, this approach would mean that only one Room or Building would be on the screen at a time. With a little tweaking, this could display a list of Rooms that fit the criteria and then shows more information when a specific Room from the list is clicked on, by making the Form Continuous and putting the SubForms in the Footer of the Page.

One last note. By doing it this way, the data most likely can be updated from these Forms, which might be handy.
Oct 14 '15 #2
ittechguy
70 64KB
Thank you for your reply jforbes. Its not that I don't like your recommendations, I really appreciate them. But I'd be lying if I said I wasn't frustrated. I've been working on this project for nearly 3 months now. I've asked help in another forum, but I think they didn't really understand what I was trying to do.

Originally, I set up my form like you're describing using main forms and subforms. The main form was based on a table. I was told that I should use list boxes instead of subforms. I could not figure out how to filter the main form based on a value which wasn't located in the form's recordsource.

So, closest I've come to finishing this form was to use the ridiculously long union query. My recent idea was to use a concatenation function to concatenate the fields in the union query, which is even more ridiculous.

Anyways. Deep breaths for me, then I'm deleting the entire form and query and starting all over, yet again.

I do appreciate your help though. At least now I have a small amount of sanity to cling onto.
Oct 14 '15 #3
jforbes
1,107 Expert 1GB
Hang in there. What you are attempting to do is on of the more complicated scenarios for Access. I think the IN() operator will be key for you as it will allow you to Filter a Form on values that aren't included in the Form's RecordSource.
Oct 14 '15 #4
ittechguy
70 64KB
I just tried doing it like you said, using SQL in the filter variable. Its working perfectly! No more duplicate data and it just works.

Problem though. And its probably a simple one. I need to search through both tblRoomsPOC and tblFacilityMgr. Or, more accurately, I think it would be OR. That is, it should return a result if found in either tables.

This is my code here:

Expand|Select|Wrap|Line Numbers
  1. If Not IsNullOrEmpty(Me.cboSearchLastName) Then
  2. startStr = IIf(strFilter = "", "", " AND ")
  3. strFilter = strFilter & "tblRooms.RoomsPK IN( "
  4. strFilter = strFilter & "SELECT tblRoomsPOC.RoomsFK, tblFacilityMgr.BuildingFK, tblCustomer.CustomerPK "
  5. strFilter = strFilter & "FROM (tblCustomer INNER JOIN tblFacilityMgr ON tblCustomer.CustomerPK = tblFacilityMgr.CustomerFK) "
  6. strFilter = strFilter & "INNER JOIN tblRoomsPOC ON tblCustomer.CustomerPK = tblRoomsPOC.CustomerFK "
  7. strFilter = strFilter & "WHERE tblCustomer.LastName ='" & Me.cboSearchLastName & "')"
  8. End If
Something is not right w/ the query. Its telling me that would produce multiple fields and I need to re-write the FROM statement. I really don't want to write another union query.
Oct 14 '15 #5
ittechguy
70 64KB
I thought I figured it out, but not just yet. I found out I was only supposed to select RoomsPK, and nothing else.

This is what I have now.

Expand|Select|Wrap|Line Numbers
  1. If Not IsNullOrEmpty(Me.cboSearchLastName) Then
  2. startStr = IIf(strFilter = "", "", " AND ")
  3. strFilter = strFilter & "tblRooms.RoomsPK IN( " _
  4. & " SELECT tblRoomsPOC.RoomsFK " _
  5. & " FROM (tblCustomer INNER JOIN tblFacilityMgr ON tblCustomer.CustomerPK = tblFacilityMgr.CustomerFK) " _
  6. & " INNER JOIN tblRoomsPOC ON tblCustomer.CustomerPK = tblRoomsPOC.CustomerFK " _
  7. & " WHERE tblCustomer.LastName ='" & Me.cboSearchLastName & "')"
  8. End If
That compiles and seems to work great, but after some troubleshooting, I found out that it only works if a record is in tblRoomsPOC. If a record is in tblFacilityMgr but not in tblRoomsPOC, it will not display any results.

What have I don'e wrong w/ the query? I'm guessing its because I'm trying to also select tblRooms.RoomsPK and tblFacilityMgr.BuildingFK from two different tables. It seems to me like BuildingFK needs to also be before IN. Currently tblFacilityMgr.BuildingFK isn't even in the query for the main form.

Also, for some reason it doesn't like it if I select any more than 1 field in the sub query (after IN( ).
Oct 15 '15 #6
ittechguy
70 64KB
After much more research, I figured I need to use a union query after all, so i came up with this:

Expand|Select|Wrap|Line Numbers
  1. startStr = IIf(strFilter = "", "", " AND ")
  2. strFilter = strFilter & "tblRooms.RoomsPK IN( " _
  3. & " SELECT tblRooms.RoomsPK " _
  4. & " FROM (tblBuilding INNER JOIN tblRooms ON tblBuilding.BuildingPK = tblRooms.BuildingFK) INNER JOIN (tblCustomer INNER JOIN tblFacilityMgr " _
  5. & " ON tblCustomer.CustomerPK = tblFacilityMgr.CustomerFK) ON " _
  6. & " tblBuilding.BuildingPK = tblFacilityMgr.BuildingFK" _
  7. & " UNION SELECT tblRooms.RoomsPK " _
  8. & " FROM tblBuilding INNER JOIN (tblRooms INNER JOIN (tblCustomer INNER JOIN tblRoomsPOC ON tblCustomer.CustomerPK " _
  9. & " = tblRoomsPOC.CustomerFK) ON tblRooms.RoomsPK = tblRoomsPOC.RoomsFK) ON tblBuilding.BuildingPK = tblRooms.BuildingFK " _
  10. & " WHERE tblCustomer.LastName ='" & Me.cboSearchLastName & "')"
  11. End If
It works in the access query builder. I've tested each half separately in VBA, no problem. When running the entire union query, it says that operator is not supported. Which has me thinking VBA doesn't support union queries in sub queries (?).
Oct 15 '15 #7
jforbes
1,107 Expert 1GB
Sounds like you are making progress.

I want to caution you from using Unions. They have their place, but I don't believe what you are doing would need one. Just use multiple IN() statements.

I reworked your code a little. I'm not comfortable with the way the joins are written as it makes it very difficult to read. Typically when writing a Select, the select is from the Table that holds the value that is needed and then Joins are added to the point that the criteria can be applied. Basically, walking a tree to the point where the magic criteria shows up. So, I reworked those Joins as well. Hopefully I didn't mess it up so much that you can't correct any errors:
Expand|Select|Wrap|Line Numbers
  1. If Len(Me.cboSearchLastName) > 0 Then
  2.    strFilter = strFilter & " AND tblRooms.RoomsPK IN( " 
  3.    strFilter = strFilter & " SELECT tblRooms.RoomsPK "
  4.    strFilter = strFilter & " FROM tblRooms "
  5.    strFilter = strFilter & " INNER JOIN tblBuilding ON tblBuilding.BuildingPK = tblRooms.BuildingFK "
  6.    strFilter = strFilter & " INNER JOIN tblFacilityMgr ON tblBuilding.BuildingPK = tblFacilityMgr.BuildingFK "
  7.    strFilter = strFilter & " INNER JOIN tblCustomer ON tblCustomer.CustomerPK = tblFacilityMgr.CustomerFK "
  8.    strFilter = strFilter & " WHERE tblCustomer.LastName ='" & Me.cboSearchLastName & "') "
  9. End If
  10. If Len(Me.cboSearchLastName) > 0 Then
  11.    strFilter = strFilter & " AND tblRooms.RoomsPK IN( " 
  12.    strFilter = strFilter & " SELECT tblRooms.RoomsPK "
  13.    strFilter = strFilter & " FROM tblRooms "
  14.    strFilter = strFilter & " INNER JOIN tblRoomsPOC ON tblRooms.RoomsPK = tblRoomsPOC.RoomsFK "
  15.    strFilter = strFilter & " INNER JOIN tblCustomer ON tblCustomer.CustomerPK = tblRoomsPOC.CustomerFK "
  16.    strFilter = strFilter & " WHERE tblCustomer.LastName ='" & Me.cboSearchLastName & "') "
  17. End If
  18. ' ... Add as many IN() statements as needed
  19. If Len(strFilter) > 5 Then strFilter = Right(strFilter, Len(strFilter)-5)
Also, it may be beneficial to read through this a little https://msdn.microsoft.com/en-us/library/ms177682.aspx. It should help with understanding what the IN() is all about and why you got an error when the Select returned two columns of data.
Oct 15 '15 #8
ittechguy
70 64KB
Thanks for the help! I definitely agree w/ you on unions.

My project is coming together thanks to you, but I still have a kink to work out.

I've tried using multiple If statements so that each combo box would have two IFs. It was not working correctly because it was putting " AND " between the IF for tblFacilityMgr and the IF for tblRoomsPOC. This needs to be " OR ".

Reason for this is I want to return tblBuilding.BuildingPK if there is a record in tblFacilityMgr for the criteria I've entered. If there is no record in tblFacilityMgr, I need it to search in tblRoomsPOC. As it is now, it is only returning records if a customer's Last Name, first name, etc is in both tables.

So I've changed it to " OR ". Now the problem I'm having is it seems to be treating the ANDs like ORs. If I try to filter by LastName "Smith" and FirstName "Michael" it will show me all the records with lastname "Smith" and all the records with a first name "Michael".

Below is my code. I think I need to be using brackets to separate the OR so that its not being confused w/ AND. But I can't seem to get the placement right, or I am just completely wrong.

Expand|Select|Wrap|Line Numbers
  1. Private Sub cmdSearch_Click()
  2. Dim startStr As String
  3. Dim strFilter As String
  4. If Not IsNullOrEmpty(Me.cboSearchLastName) Then
  5.     startStr = IIf(strFilter = "", "", " AND ")
  6.     strFilter = strFilter & startStr & "tblBuilding.BuildingPK IN (" _
  7.     & " SELECT tblFacilityMgr.BuildingFK AS B " _
  8.     & " FROM tblCustomer INNER JOIN tblFacilityMgr ON tblCustomer.CustomerPK = tblFacilityMgr.CustomerFK " _
  9.     & " WHERE tblCustomer.LastName ='" & Me.cboSearchLastName & "') OR "
  10.     strFilter = strFilter & "tblRooms.RoomsPK IN (" _
  11.     & " SELECT tblRoomsPOC.RoomsFK AS R " _
  12.     & " FROM tblCustomer INNER JOIN tblRoomsPOC ON tblCustomer.CustomerPK = tblRoomsPOC.CustomerFK " _
  13.     & " WHERE tblCustomer.LastName ='" & Me.cboSearchLastName & "') "
  14. End If
  15. If Not IsNullOrEmpty(Me.cboSearchFirstName) Then
  16.     startStr = IIf(strFilter = "", "", " AND ")
  17.     strFilter = strFilter & startStr & "tblBuilding.BuildingPK IN (" _
  18.     & " SELECT tblFacilityMgr.BuildingFK AS B " _
  19.     & " FROM tblCustomer INNER JOIN tblFacilityMgr ON tblCustomer.CustomerPK = tblFacilityMgr.CustomerFK " _
  20.     & " WHERE tblCustomer.FirstName ='" & Me.cboSearchFirstName & "') OR "
  21.     strFilter = strFilter & "tblRooms.RoomsPK IN (" _
  22.     & " SELECT tblRoomsPOC.RoomsFK " _
  23.     & " FROM tblCustomer INNER JOIN tblRoomsPOC ON tblCustomer.CustomerPK = tblRoomsPOC.CustomerFK " _
  24.     & " WHERE tblCustomer.FirstName ='" & Me.cboSearchFirstName & "') "
  25. End If
  26. If Not IsNullOrEmpty(Me.cboSearchOrganization) Then
  27.     startStr = IIf(strFilter = "", "", " AND ")
  28.     strFilter = strFilter & startStr & "tblBuilding.BuildingPK IN (" _
  29.     & " SELECT tblFacilityMgr.BuildingFK AS B " _
  30.     & " FROM tblCustomer INNER JOIN tblFacilityMgr ON tblCustomer.CustomerPK = tblFacilityMgr.CustomerFK " _
  31.     & " WHERE tblCustomer.OrganizationFK =" & Me.cboSearchOrganization & ") OR "
  32.     strFilter = strFilter & "tblRooms.RoomsPK IN (" _
  33.     & " SELECT tblRoomsPOC.RoomsFK AS R " _
  34.     & " FROM tblCustomer INNER JOIN tblRoomsPOC ON tblCustomer.CustomerPK = tblRoomsPOC.CustomerFK " _
  35.     & " WHERE tblCustomer.OrganizationFK =" & Me.cboSearchOrganization & ") "
  36. End If
  37.  
  38.  
  39. Call MsgBox(strFilter, vbOKOnly, "Debug")
  40. If DCount("*", "qryFrmMainRooms", strFilter) = 0 Then
  41.                 MsgBox "No corresponding records to your search criteria." & vbCrLf & vbCrLf
  42.                 Me.FilterOn = False
  43.                 Me.cboSearchLastName = ""
  44.                 Me.cboSearchFirstName = ""
  45. End If
  46. Me.Filter = strFilter
  47. Me.FilterOn = True
  48. End Sub
Oct 18 '15 #9
jforbes
1,107 Expert 1GB
I think this is what you are looking for:
Expand|Select|Wrap|Line Numbers
  1. ...
  2. If Not IsNullOrEmpty(Me.cboSearchLastName) Then
  3.     startStr = IIf(strFilter = "", "", " AND ")
  4.     strFilter = strFilter & startStr & "(tblBuilding.BuildingPK IN (" _
  5.     & " SELECT tblFacilityMgr.BuildingFK AS B " _
  6.     & " FROM tblCustomer INNER JOIN tblFacilityMgr ON tblCustomer.CustomerPK = tblFacilityMgr.CustomerFK " _
  7.     & " WHERE tblCustomer.LastName ='" & Me.cboSearchLastName & "') OR "
  8.     strFilter = strFilter & "tblRooms.RoomsPK IN (" _
  9.     & " SELECT tblRoomsPOC.RoomsFK AS R " _
  10.     & " FROM tblCustomer INNER JOIN tblRoomsPOC ON tblCustomer.CustomerPK = tblRoomsPOC.CustomerFK " _
  11.     & " WHERE tblCustomer.LastName ='" & Me.cboSearchLastName & "')) "
  12. End If
  13. If Not IsNullOrEmpty(Me.cboSearchFirstName) Then
  14.     startStr = IIf(strFilter = "", "", " AND ")
  15.     strFilter = strFilter & startStr & "(tblBuilding.BuildingPK IN (" _
  16.     & " SELECT tblFacilityMgr.BuildingFK AS B " _
  17.     & " FROM tblCustomer INNER JOIN tblFacilityMgr ON tblCustomer.CustomerPK = tblFacilityMgr.CustomerFK " _
  18.     & " WHERE tblCustomer.FirstName ='" & Me.cboSearchFirstName & "') OR "
  19.     strFilter = strFilter & "tblRooms.RoomsPK IN (" _
  20.     & " SELECT tblRoomsPOC.RoomsFK " _
  21.     & " FROM tblCustomer INNER JOIN tblRoomsPOC ON tblCustomer.CustomerPK = tblRoomsPOC.CustomerFK " _
  22.     & " WHERE tblCustomer.FirstName ='" & Me.cboSearchFirstName & "')) "
  23. End If
  24. If Not IsNullOrEmpty(Me.cboSearchOrganization) Then
  25.     startStr = IIf(strFilter = "", "", " AND ")
  26.     strFilter = strFilter & startStr & "(tblBuilding.BuildingPK IN (" _
  27.     & " SELECT tblFacilityMgr.BuildingFK AS B " _
  28.     & " FROM tblCustomer INNER JOIN tblFacilityMgr ON tblCustomer.CustomerPK = tblFacilityMgr.CustomerFK " _
  29.     & " WHERE tblCustomer.OrganizationFK =" & Me.cboSearchOrganization & ") OR "
  30.     strFilter = strFilter & "tblRooms.RoomsPK IN (" _
  31.     & " SELECT tblRoomsPOC.RoomsFK AS R " _
  32.     & " FROM tblCustomer INNER JOIN tblRoomsPOC ON tblCustomer.CustomerPK = tblRoomsPOC.CustomerFK " _
  33.     & " WHERE tblCustomer.OrganizationFK =" & Me.cboSearchOrganization & ")) "
  34. End If
  35. ... 
You should end up with something like ((In tblFacilityMgr) OR (tblRoomsPOC)) AND ((tblFacilityMgr) OR (tblRoomsPOC))

There is another option you may want to consider. You could replace all the ANDs with ORs. This is more inline with what I do. You'll typically get more results back but that usually isn't a problem if what the user types in is specific enough. If it is specific enough, they will be able to quickly find what they want in the results.
Actually, for most filtering, I use only one TextBox to get the criteria and then I look for it an any Key Field and then OR the results together and show it to the user. If the user puts in something non specific, like an "A" they will get about half of the database returned to them, but if they put in a partial key, they will usually get just enough records back that they can quickly find what they want.

You might want to try ORing the results together and see how your application responds. It's a little counter intuitive, but I think you will like it.
Oct 18 '15 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: KathyB | last post by:
Hi, figured out where I was going wrong in my post just prior, but is there ANY way I can assign several variables to then use them in an Update statement, for example (this does not work): ...
6
by: David | last post by:
Hi, I have an ASP page which runs a select statement such as QueryA = "SELECT............ ;" Set RS_A = adoDataConn.Execute(QueryA) (adoDataConn is set in a hidden include file).
2
by: Tom Cusick | last post by:
MS Access Version 2002 (10.4302.4291) SP-2 Windows XP Pro 2002 SP-1 ----------------------------------------------------------------- Ok my question is this. I have one form laid out the way I...
1
by: Roy | last post by:
I'm assuming this is amazingly simple and I'm just missing the boat. On the html side of an asp.net page I have a datagrid, a "search" button, and 8 text boxes for search criteria. A user enters...
7
by: r.z. | last post by:
This is from Visual Studio docs. But is this standard behaviour? I mean, is it ok in every environment: class A { B* my_pointer; A(); ~A(); }
3
by: swb76 | last post by:
Hi, I have 6 queries in Access that run great. They need to be run in sequence with the first 5 queries writing to tables and the sixth one pops up the final results in datasheet view. Now, how...
1
matrekz42
by: matrekz42 | last post by:
Good morning Gurus, I'm trying to execute the following code to run multiple queries, and update the progress bar on a form, but it doesnt seem to respond. Do I have too many queries, what am I...
5
by: Brett | last post by:
Hello, Is it possible to have just one criteria and have it apply to a group of queries? I am trying to create a report with the separate results of 4 queries based on a prompt for the user...
1
by: Ishegg | last post by:
Hello. I'm programming a website in which we have sport clubs listed in a DB, structure is as follows: club (id_club, club_name, club_city) court (id_court, court_name, club_id_club (FK),...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.