473,407 Members | 2,315 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,407 software developers and data experts.

SUM query using a combo box

Heres what i have:

i have 3 tables set up that are identical. The only difference is that the tables have different titles as they are databases for different customers.

The table has the following fields:
"RMA #", "Quote ID", "Credit(USD)", "Credit(#)", "Credit(Euros)", "Credit(CAD)", and "Credit(YEN)"



I have a form called form1 that has:

A combo box (combo23) set up with the name of the three customer tables.


WHAT I WANT:
I was wondering if there was a way to be able to select the name of the customer table from the combo box,and have a command button query sum the following fields "Credit(USD)", "Credit(#)", "Credit(Euros)", "Credit(CAD)", and "Credit(YEN)". I would like this query to be tied to a command button.

Is this possible?
Sep 28 '10 #1

✓ answered by MMcCarthy

OK, this appears to be working now. Try it out ...

Expand|Select|Wrap|Line Numbers
  1. Private Sub Command26_Click()
  2. On Error GoTo Command26_Click_Err
  3. Dim qdf As QueryDef
  4. Dim strSQL As String
  5.  
  6.     strSQL = "SELECT Sum([Credit(USD)]) AS SumCreditUSD, Sum([Credit(#)]) AS [SumCredit#], " & _
  7.         "Sum([Credit(Euros)]) AS SumCreditEuro, Sum([Credit(CAD)]) AS SumCreditCAD, " & _
  8.         "Sum([Credit(YEN)]) AS SumCreditYen, Sum([Credit(AUD)]) AS SumCreditAUD " & _
  9.         "FROM " & Me!Combo30
  10.  
  11.     With CurrentDb
  12.         Set qdf = .CreateQueryDef("MyQuery", strSQL)
  13.         DoEvents
  14.  
  15.         strSQL = "UPDATE [Customer Table] " & _
  16.             "SET [Customer Table].[Credit(USD)] = DLookUp('[SumCreditUSD]','MyQuery'), " & _
  17.             "[Customer Table].[Credit(#)] = DLookUp('[SumCredit#]','MyQuery'), " & _
  18.             "[Customer Table].[Credit(Euros)] = DLookUp('[SumCreditEuro]','MyQuery'), " & _
  19.             "[Customer Table].[Credit(CAD)] = DLookUp('[SumCreditCAD]','MyQuery'), " & _
  20.             "[Customer Table].[Credit(YEN)] = DLookUp('[SumCreditYen]','MyQuery'), " & _
  21.             "[Customer Table].[Credit(AUD)] = DLookUp('[SumCreditAUD]','MyQuery') " & _
  22.             "WHERE [Customer Table].Customer='" & Me!Combo30 & "' " & _
  23.             "AND [Customer Table].[Customer ID]='" & Me!Combo30.Column(1) & "';"
  24.  
  25.         DoCmd.RunSQL strSQL
  26.  
  27.         ' When you are finished delete the query object
  28.         DoCmd.DeleteObject acQuery, "MyQuery"
  29.         qdf.Close
  30.         Set qdf = Nothing
  31.  
  32.     End With
  33.  
  34. Command26_Click_Exit:
  35.     Exit Sub
  36.  
  37. Command26_Click_Err:
  38.     MsgBox Error$
  39.     Resume Command26_Click_Exit
  40.  
  41. End Sub
  42.  

33 1869
MMcCarthy
14,534 Expert Mod 8TB
Hi Kent

OK I think what you want is to set up a dynamic query. I've left space for you to put in what you want to do with the query results as you didn't say.

Expand|Select|Wrap|Line Numbers
  1. Private Sub MyCmdButton_Click()
  2. Dim qdf As QueryDef
  3. Dim strSQL AS String
  4.  
  5.     strSQL = "SELECT Sum([Credit(USD)]) AS SumCreditUSD, Sum([Credit(#)]) AS [SumCredit#], " & _ 
  6.         "Sum([Credit(Euros)]) AS SumCreditEuro, Sum([Credit(CAD)]) AS SumCreditCAD, " & _
  7.         "Sum([Credit(YEN)]) AS SumCreditYen, Sum([Credit(AUD)]) AS SumCreditAUD " & _
  8.         "FROM " & Me!Combo23
  9.  
  10.     With CurrentDb
  11.         Set qdf = .CreateQueryDef("MyQuery", sqltext)
  12.         DoEvents
  13.  
  14.  
  15.         ' Do whatever you want with the query results here ....
  16.  
  17.         ' When you are finished delete the query object
  18.         DoCmd.DeleteObject acQuery, "My_Query"
  19.         qdf.Close
  20.         Set qdf = Nothing
  21.     End With
  22.  
  23. End Sub
Sep 29 '10 #2
MMcCarthy,

Once again thanks for the help. Sorry i forgot to tell you where i wanted the results to go. I would like the results to be updated into a table that i just created. The table is titled "Customer Table" with the following fields:
"Customer", "Customer ID", "Credit(USD)", "Credit(#)", "Credit(Euros)", "Credit(CAD)", and "Credit(YEN)"

I have all of the customers names in the customer field so is there a way that when the sum query runs it only updates the correct customer row (chosen from combo23 like before) and correct fields ("Credit(USD)", "Credit(#)", "Credit(Euros)", "Credit(CAD)", and "Credit(YEN)")

What would be the code for the sum query and the query that updates the "customer table". I would like to link it to a command button.

Thanks in advance
Sep 29 '10 #3
MMcCarthy
14,534 Expert Mod 8TB
OK try this ...

Expand|Select|Wrap|Line Numbers
  1. Private Sub MyCmdButton_Click()
  2. Dim qdf As QueryDef
  3. Dim strSQL AS String
  4.  
  5.     strSQL = "SELECT Sum([Credit(USD)]) AS SumCreditUSD, Sum([Credit(#)]) AS [SumCredit#], " & _ 
  6.         "Sum([Credit(Euros)]) AS SumCreditEuro, Sum([Credit(CAD)]) AS SumCreditCAD, " & _
  7.         "Sum([Credit(YEN)]) AS SumCreditYen, Sum([Credit(AUD)]) AS SumCreditAUD " & _
  8.         "FROM " & Me!Combo23
  9.  
  10.     With CurrentDb
  11.         Set qdf = .CreateQueryDef("MyQuery", sqltext)
  12.         DoEvents
  13.  
  14.  
  15.         DoCmd.RunSQL "INSERT INTO [Customer Table] (Customer, [Credit(USD)], " & _ 
  16.             "[Credit(#)], [Credit(Euros)], [Credit(CAD)], and [Credit(YEN)], [Credit(AUD)]) " & _
  17.             "SELECT '" & Me!Combo23 & "' AS Customer, SumCreditUSD, [SumCreditC#], " & _
  18.             "SumCreditEuro, SumCreditCAD, SumCreditYen, SumCreditAUD " & _
  19.             "FROM MyQuery"
  20.  
  21.         ' When you are finished delete the query object
  22.         DoCmd.DeleteObject acQuery, "My_Query"
  23.         qdf.Close
  24.         Set qdf = Nothing
  25.     End With
  26.  
  27. End Sub
I've included CreditAUD as you had it in the original thread, you can remove it if you don't need it. I've also left out CustomerID as I'm not sure where you are getting it from.

Mary
Sep 29 '10 #4
Mary,

I did need CreditAUD so thanks for including that. The Customer ID is a column next to the "customer" field that is already been manually typed into the table for each customer. So im not very good at VB code so i just cut and pasted what you wrote but it doesn't seem to work. I get the following error message "Invalid SQL statement; expected 'Delete','Insert','Procedure','Select' or 'Update'". I have included the code for the command button below. Could you please help me fix the code.
Thanks in advance.

Expand|Select|Wrap|Line Numbers
  1. Private Sub Command26_Click()
  2. On Error GoTo Command26_Click_Err
  3.  
  4.     Dim qdf As QueryDef
  5. Dim strSQL As String
  6.  
  7.     strSQL = "SELECT Sum([Credit(USD)]) AS SumCreditUSD, Sum([Credit(#)]) AS [SumCredit#], " & _
  8.         "Sum([Credit(Euros)]) AS SumCreditEuro, Sum([Credit(CAD)]) AS SumCreditCAD, " & _
  9.         "Sum([Credit(YEN)]) AS SumCreditYen, Sum([Credit(AUD)]) AS SumCreditAUD " & _
  10.         "FROM " & Me!Combo23
  11.  
  12.     With CurrentDb
  13.         Set qdf = .CreateQueryDef("MyQuery", sqltext)
  14.         DoEvents
  15.  
  16.  
  17.         DoCmd.RunSQL "INSERT INTO [Customer Table] (Customer, [Credit(USD)], " & _
  18.             "[Credit(#)], [Credit(Euros)], [Credit(CAD)], and [Credit(YEN)], [Credit(AUD)]) " & _
  19.             "SELECT '" & Me!Combo23 & "' AS Customer, SumCreditUSD, [SumCreditC#], " & _
  20.             "SumCreditEuro, SumCreditCAD, SumCreditYen, SumCreditAUD " & _
  21.             "FROM MyQuery"
  22.  
  23.         ' When you are finished delete the query object
  24.         DoCmd.DeleteObject acQuery, "My_Query"
  25.         qdf.Close
  26.         Set qdf = Nothing
  27.     End With
  28.  
  29.  
  30. Command26_Click_Exit:
  31.     Exit Sub
  32.  
  33. Command26_Click_Err:
  34.     MsgBox Error$
  35.     Resume Command26_Click_Exit
  36.  
  37. End Sub
  38.  
Sep 29 '10 #5
MMcCarthy
14,534 Expert Mod 8TB
I can get the customer name from the drop down box but is the customerID in the drop down box as well. When I say where do I get it, I mean where on the form can I find that value to input it into the table.
Sep 30 '10 #6
MMcCarthy
14,534 Expert Mod 8TB
In the meantime, I don't see any real problem with what you copied and pasted. However, I have added a line of code at line 20 which will print out the query to the "Immediate" window. We should have a better idea what's going on then. Assuming the code stops on error again. Copy the query from the immediate window and then open a new query in Access design view. Then change the view to sql and paste in the query code. The error message should tell us what's wrong.

Expand|Select|Wrap|Line Numbers
  1. Private Sub Command26_Click()
  2. On Error GoTo Command26_Click_Err
  3. Dim qdf As QueryDef
  4. Dim strSQL As String
  5.  
  6.     strSQL = "SELECT Sum([Credit(USD)]) AS SumCreditUSD, Sum([Credit(#)]) AS [SumCredit#], " & _
  7.         "Sum([Credit(Euros)]) AS SumCreditEuro, Sum([Credit(CAD)]) AS SumCreditCAD, " & _
  8.         "Sum([Credit(YEN)]) AS SumCreditYen, Sum([Credit(AUD)]) AS SumCreditAUD " & _
  9.         "FROM " & Me!Combo23
  10.  
  11.     With CurrentDb
  12.         Set qdf = .CreateQueryDef("MyQuery", strSQL)
  13.         DoEvents
  14.  
  15.         strSQL = "INSERT INTO [Customer Table] (Customer, [Credit(USD)], " & _
  16.             "[Credit(#)], [Credit(Euros)], [Credit(CAD)], and [Credit(YEN)], [Credit(AUD)]) " & _
  17.             "SELECT '" & Me!Combo23 & "', SumCreditUSD, [SumCreditC#], " & _
  18.             "SumCreditEuro, SumCreditCAD, SumCreditYen, SumCreditAUD " & _
  19.             "FROM MyQuery"
  20.         Debug.Print strSQL
  21.         DoCmd.RunSQL strSQL
  22.  
  23.         ' When you are finished delete the query object
  24.         DoCmd.DeleteObject acQuery, "My_Query"
  25.         qdf.Close
  26.         Set qdf = Nothing
  27.  
  28.     End With
  29.  
  30. Command26_Click_Exit:
  31.     Exit Sub
  32.  
  33. Command26_Click_Err:
  34.     MsgBox Error$
  35.     Resume Command26_Click_Exit
  36.  
  37. End Sub
Sep 30 '10 #7
Mary,

For the customer ID should i create a new combo box with customer and customer ID. If so it will be "Combo30"

As for the code, it still gives me an error message that says "object My Query Already exists".

It is not printing the query to the "Immediate" window so it seems as if the query is not even running. Any ideas what could cause this.
Sep 30 '10 #8
MMcCarthy
14,534 Expert Mod 8TB
Delete MyQuery, it's left over from when the code errored out last time and the code that deletes it never ran.

In combo30 is the CustomerID in the first or second column?
Sep 30 '10 #9
the customer id is in the 2nd column, with the first column being the customer. So what would the new code be with the new combo box. I also just deleted myquery.
Sep 30 '10 #10
MMcCarthy
14,534 Expert Mod 8TB
This should work ...

Expand|Select|Wrap|Line Numbers
  1. Private Sub Command26_Click()
  2. On Error GoTo Command26_Click_Err
  3. Dim qdf As QueryDef
  4. Dim strSQL As String
  5.  
  6.     strSQL = "SELECT Sum([Credit(USD)]) AS SumCreditUSD, Sum([Credit(#)]) AS [SumCredit#], " & _
  7.         "Sum([Credit(Euros)]) AS SumCreditEuro, Sum([Credit(CAD)]) AS SumCreditCAD, " & _
  8.         "Sum([Credit(YEN)]) AS SumCreditYen, Sum([Credit(AUD)]) AS SumCreditAUD " & _
  9.         "FROM " & Me!Combo30
  10.  
  11.     With CurrentDb
  12.         Set qdf = .CreateQueryDef("MyQuery", strSQL)
  13.         DoEvents
  14.  
  15.         strSQL = "INSERT INTO [Customer Table] (Customer, CustomerID, [Credit(USD)], " & _
  16.             "[Credit(#)], [Credit(Euros)], [Credit(CAD)], and [Credit(YEN)], [Credit(AUD)]) " & _
  17.             "SELECT '" & Me!Combo30 & "', " & Me!Combo30.Column(1) & ", SumCreditUSD, [SumCreditC#], " & _
  18.             "SumCreditEuro, SumCreditCAD, SumCreditYen, SumCreditAUD " & _
  19.             "FROM MyQuery"
  20.         Debug.Print strSQL
  21.         DoCmd.RunSQL strSQL
  22.  
  23.         ' When you are finished delete the query object
  24.         DoCmd.DeleteObject acQuery, "My_Query"
  25.         qdf.Close
  26.         Set qdf = Nothing
  27.  
  28.     End With
  29.  
  30. Command26_Click_Exit:
  31.     Exit Sub
  32.  
  33. Command26_Click_Err:
  34.     MsgBox Error$
  35.     Resume Command26_Click_Exit
  36.  
  37. End Sub
Sep 30 '10 #11
It still does not seem to be working. I now get a message of Sytax error in INSERT INTO statement. I tried looking through the code if anything was wrong and cant see anything.
Also in line 24, should the "_" be deleted?
Sep 30 '10 #12
MMcCarthy
14,534 Expert Mod 8TB
Sorry about that, yes delete that underscore.

Did you copy the sql from the immediate window and paste it into a query?
Sep 30 '10 #13
Mary,
Im sorry but i can't copy the sql from the window because when i click the command button, the error"Sytax error in INSERT INTO statement" shows and then in my navigation pane 'myquery' is there. These are the only things that happen.
Also when i click on the myquery, it does sum the correct table, however all the summed numbers are not in a correct currency format. Is this because the customer table that this query is going into has different currency formats. For example, the credit(#) format is £#,###.##, the credit(Yen) format is ¥#,### and the credit(euro) format is "Euro". The rest of the credits are in basic USD currency.

However, when checking the customer table that the button was pulling from, the currency was all in the correct format.

Also the myquery is still not deleting. Can you please help. Sorry for all the trouble.

The code for myquery is below:
Expand|Select|Wrap|Line Numbers
  1. SELECT Sum([Credit(USD)]) AS SumCreditUSD, Sum([Credit(#)]) AS [SumCredit#], Sum([Credit(Euros)]) AS SumCreditEuro, Sum([Credit(CAD)]) AS SumCreditCAD, Sum([Credit(YEN)]) AS SumCreditYen, Sum([Credit(AUD)]) AS SumCreditAUD
  2. FROM AXA;
  3.  
Sep 30 '10 #14
In 'myquery', AXA is the name of one of the customer tables. This is the value pulled from combo30.
Sep 30 '10 #15
MMcCarthy
14,534 Expert Mod 8TB
OK so the first part is working fine. Don't worry about MyQuery not deleting. This is because the code is breaking before we get to that part.

However, I don't understand why the sql code is not appearing in the Immediate window. The debug should be running before that error.

You will need to delete MyQuery manually before running the code again.
Sep 30 '10 #16
MMcCarthy
14,534 Expert Mod 8TB
As far as the currency issue is concerned. Can you run this query and see what happens to the currency.

Expand|Select|Wrap|Line Numbers
  1. SELECT Sum([Credit(USD)]) AS SumCreditUSD, Sum([Credit(#)]) AS [SumCredit#],
  2. Sum([Credit(Euros)]) AS SumCreditEuro, Sum([Credit(CAD)]) AS SumCreditCAD,
  3. Sum([Credit(YEN)]) AS SumCreditYen, Sum([Credit(AUD)]) AS SumCreditAUD
  4. FROM AXA
Sep 30 '10 #17
okay so i deleted the myquery but i had a question about the new query you just posted. SHould i run it using hte same command or create a new query and run using it as the SQL code?
Sep 30 '10 #18
MMcCarthy
14,534 Expert Mod 8TB
Just create a new query and run it as the sql code. I just want to see what the query on it's own does regarding the currency types.
Sep 30 '10 #19
okay i just ran the query and it gave me the sum values of the table, but all in USD currency. Was this what you needed to see?

Thanks
Sep 30 '10 #20
MMcCarthy
14,534 Expert Mod 8TB
Yes it seems there is a problem with the table structure.

So if you open the AXA table in design view and go to Credit(Euro) for example. What is the currancy format set to?
Sep 30 '10 #21
MMcCarthy
14,534 Expert Mod 8TB
Kent can you attach a sample table and form for me. You can't attach an mdb/accdb file directly but you can zip one up and then attach it.
Sep 30 '10 #22
The data type that shows in the AXA table is euro.

As for the zipped file, i have it sitting on my desktop, how do i get it so you can recieve it?
Sep 30 '10 #23
MMcCarthy
14,534 Expert Mod 8TB
When you post a reply click on the Go Advanced button. Scroll down to manage attachments.
Sep 30 '10 #24
here it is. Thanks.
TRP Model.zip
Sep 30 '10 #25
MMcCarthy
14,534 Expert Mod 8TB
OK I found the problem in the INSERT INTO statement. There was an And in there that shouldn't have been. That's what I get for copying and pasting :D

Try this ...

Expand|Select|Wrap|Line Numbers
  1. Private Sub Command26_Click()
  2. On Error GoTo Command26_Click_Err
  3. Dim qdf As QueryDef
  4. Dim strSQL As String
  5.  
  6.     strSQL = "SELECT Sum([Credit(USD)]) AS SumCreditUSD, Sum([Credit(#)]) AS [SumCredit#], " & _
  7.         "Sum([Credit(Euros)]) AS SumCreditEuro, Sum([Credit(CAD)]) AS SumCreditCAD, " & _
  8.         "Sum([Credit(YEN)]) AS SumCreditYen, Sum([Credit(AUD)]) AS SumCreditAUD " & _
  9.         "FROM " & Me!Combo30
  10.  
  11.     With CurrentDb
  12.         Set qdf = .CreateQueryDef("MyQuery", strSQL)
  13.         DoEvents
  14.  
  15.         strSQL = "INSERT INTO [Customer Table] (Customer, CustomerID, [Credit(USD)], " & _
  16.             "[Credit(#)], [Credit(Euros)], [Credit(CAD)], [Credit(YEN)], [Credit(AUD)]) " & _
  17.             "SELECT '" & Me!Combo30 & "', " & Me!Combo30.Column(1) & ", SumCreditUSD, [SumCreditC#], " & _
  18.             "SumCreditEuro, SumCreditCAD, SumCreditYen, SumCreditAUD " & _
  19.             "FROM MyQuery"
  20.  
  21.         DoCmd.RunSQL strSQL
  22.  
  23.         ' When you are finished delete the query object
  24.         DoCmd.DeleteObject acQuery, "My_Query"
  25.         qdf.Close
  26.         Set qdf = Nothing
  27.  
  28.     End With
  29.  
  30. Command26_Click_Exit:
  31.     Exit Sub
  32.  
  33. Command26_Click_Err:
  34.     MsgBox Error$
  35.     Resume Command26_Click_Exit
  36.  
  37. End Sub
  38.  
Sep 30 '10 #26
MMcCarthy
14,534 Expert Mod 8TB
I know it's still showing errors. Working on it now.
Sep 30 '10 #27
thank you for your help. I would be lost on this without you. Just let me know when you get the code working. Thanks!
Sep 30 '10 #28
MMcCarthy
14,534 Expert Mod 8TB
Hi Kent

We designed this as an INSERT query which would add a record to the Customer table. However you have set up the customer table with all the customers preloaded. This leads me to believe you actually want an update query which would update each of these records.

Can you confirm?

Mary
Sep 30 '10 #29
yes that is correct if you can do that. I wasn't sure if that was possible.
Sep 30 '10 #30
MMcCarthy
14,534 Expert Mod 8TB
OK, this appears to be working now. Try it out ...

Expand|Select|Wrap|Line Numbers
  1. Private Sub Command26_Click()
  2. On Error GoTo Command26_Click_Err
  3. Dim qdf As QueryDef
  4. Dim strSQL As String
  5.  
  6.     strSQL = "SELECT Sum([Credit(USD)]) AS SumCreditUSD, Sum([Credit(#)]) AS [SumCredit#], " & _
  7.         "Sum([Credit(Euros)]) AS SumCreditEuro, Sum([Credit(CAD)]) AS SumCreditCAD, " & _
  8.         "Sum([Credit(YEN)]) AS SumCreditYen, Sum([Credit(AUD)]) AS SumCreditAUD " & _
  9.         "FROM " & Me!Combo30
  10.  
  11.     With CurrentDb
  12.         Set qdf = .CreateQueryDef("MyQuery", strSQL)
  13.         DoEvents
  14.  
  15.         strSQL = "UPDATE [Customer Table] " & _
  16.             "SET [Customer Table].[Credit(USD)] = DLookUp('[SumCreditUSD]','MyQuery'), " & _
  17.             "[Customer Table].[Credit(#)] = DLookUp('[SumCredit#]','MyQuery'), " & _
  18.             "[Customer Table].[Credit(Euros)] = DLookUp('[SumCreditEuro]','MyQuery'), " & _
  19.             "[Customer Table].[Credit(CAD)] = DLookUp('[SumCreditCAD]','MyQuery'), " & _
  20.             "[Customer Table].[Credit(YEN)] = DLookUp('[SumCreditYen]','MyQuery'), " & _
  21.             "[Customer Table].[Credit(AUD)] = DLookUp('[SumCreditAUD]','MyQuery') " & _
  22.             "WHERE [Customer Table].Customer='" & Me!Combo30 & "' " & _
  23.             "AND [Customer Table].[Customer ID]='" & Me!Combo30.Column(1) & "';"
  24.  
  25.         DoCmd.RunSQL strSQL
  26.  
  27.         ' When you are finished delete the query object
  28.         DoCmd.DeleteObject acQuery, "MyQuery"
  29.         qdf.Close
  30.         Set qdf = Nothing
  31.  
  32.     End With
  33.  
  34. Command26_Click_Exit:
  35.     Exit Sub
  36.  
  37. Command26_Click_Err:
  38.     MsgBox Error$
  39.     Resume Command26_Click_Exit
  40.  
  41. End Sub
  42.  
Sep 30 '10 #31
It works!!! Thank you for everything. Would it be okay to link this code to the other button on the form?
Sep 30 '10 #32
MMcCarthy
14,534 Expert Mod 8TB
Just copy and paste out the body of the code ignoring the error handling code and it should be fine.
Sep 30 '10 #33
Great! Thank you very much. I have one further question about my database but ill create a new question. once again thanks!
Sep 30 '10 #34

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

Similar topics

1
by: bdt513 | last post by:
I am trying to extract the values from a query using VBA. Specifically, I want to concatenate all the values of the "rosEmail" field from query "qselRosterEmailList" into one string (strEmails). I...
1
by: Cillies | last post by:
Hi! I have a form that displays information using DLookUp. Now at present I am going into the query and entering criteria that I want the form to display. i.e. the form is for a sports team and...
1
by: Cillies | last post by:
Does any one know if it is possible to search a database by using combo boxes from a form. I have a form which includes comboboxes. I want to know If I can use these combo boxes to search, i.e....
14
by: Darin | last post by:
I have a table that I want to delete specific records from based on data in other tables. I'm more familiar with Access '97, but am now using 2003, but the database is in 2000 format. In '97, I...
13
by: forbes | last post by:
Hi, I have a user that used the Query Wizard to create a query in Access. Now she claims that her master table is missing all the data that was excluded from the query. Can you create anything...
6
markmcgookin
by: markmcgookin | last post by:
Hi Folks, I am running a simple query using VB (This isnt a VB Question, dont worry!) on SQL Server Compact. I have the query below being created, and then added to if a flower location doesn't...
1
by: EwanD | last post by:
I am trying to read through and process an Access Query using VBA. I have used the OpenRecordset method with parameters as below OpenRecordset(sSourceRecordset, dbOpenDynaset) Where...
1
by: jyotig | last post by:
hi, i am using combo box for company list in ms-access but if new company name will come that time i am going to table and add new company and again open form and select that company. there is...
2
by: ganesandeiav | last post by:
Dear sir how to retrieve a data that has been selected using combo box using jsp
0
by: Del | last post by:
Hello and thanks for any and all assistance! I have a database that is used by several users on several different machines. The backend database is housed on a file server. Each user has a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.