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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bmc1234
  • Content: Threads
  • Order by date
  1. bmc1234

    query of queries space in column

    I have to write a query of queries to select aggregates from a query. the query may have spaces in the column names and qoq doesn't seem to like this. How can I do something like the following select sum(col with space) from qry1 using query of queries I've tried surrounding it in brackets...
  2. bmc1234

    how to not evaluate tags and functions

    I need to use coldfusion to dynamically build a cfm page. This requires the ability to output coldfusion tags without coldfusion evaluating them first. I've tried using the de function to accomplish this but can't seem to get it to work. Can anybody point me in the right direction? How can I...
  3. bmc1234

    Pass control to function from sub

    I have a form with an activeX control on it called VintaSoftTwain. I want to pass this control from an event on that form to a function so I can access its methods. My function is defined as follows: Function scan(vinta1 as VintaSoftTwain) When I pass the control it gives me a type mismatch...
  4. bmc1234

    Update field based on data in other table

    I have one table called TableA with two fields for Partnumber and Serialnumber. I want to add another field called repairID and fill it as follows: In a second table called TableB, there is a repairID as the primary key and Partnumber and SerialNumber fields. these two fields, when paired...
  5. bmc1234

    Scanning using VBA

    I'd like to be able to automatically scan a document from an access form. I want to have a button that scans an image and saves it to a specific location automatically. I've been searching online for this and it seems that there are activex controls that can do this, but they all cost money...
  6. bmc1234

    Problem with number comparisons

    I am using some VBA in excel and I have a simple group of if/else if statements that isn't behaving properly. Here is my code: insertionFee = 0 If startPrice <= 0.99 Then insertionFee = 0.2 ElseIf startPrice >= 1 & startPrice <= 9.99 Then insertionFee = 0.35 ElseIf...
  7. bmc1234

    Form Afterupdate question

    I have code that I want to run every time a control on a form is updated. I'm looking for an easy way to do it where I can put it in one place rather than in the afterupdate methods of every control on the form. Is there one event that runs every time anything on a form is changed? My goal is...
  8. bmc1234

    Problem with DCount &quot;You canceled the previous operation&quot;

    I have the following lines of code and I get an error on the DCount line saying "You canceled the previous operation" Dim countRecords As Integer countRecords = DCount("[RepairID]", "[RepairData]", "[rcvddate]< #" & Date - 30 & "#") MsgBox countRecords I have tried different ways of writing...
  9. bmc1234

    Combine two queries, not UNION?

    I have two tables (tableA and tableB) which I need to pull data from. They are indirectly linked through a repairID field of a third table (both are linked to repairID of tableC). In my query I would like to have fields from both tables, so that if it pulls 5 fields from each table, there...
  10. bmc1234

    Identify Tables in UNION Query

    I have a UNION query grabbing information from two tables. Does anybody have any ideas on how to identify which rows came from which tables?
  11. bmc1234

    refer to report name held in variable

    I am trying to refer to a report from some code attached to a form. I'm using the normal method of reports!reportname. My problem is that I want reportname to be a string variable holding the name of the report. When I do that it gives me a type mismatch error at runtime. Does anybody know...
  12. bmc1234

    query not returning all rows

    I have a query being used for a report and it is not returning all the rows that I want it to. Here is the sql statement: SELECT repairdata.*, products.*, contract.*, customer.* FROM Products INNER JOIN (RepairData INNER JOIN (Customer INNER JOIN Contract ON Customer.OwnerName =...
  13. bmc1234

    Problem opening form with filter

    I have a form with a button that, when pressed, opens another form with a filter based on the record from the first form. The problem is that the filter doesn't seem to be working. Instead of showing only certain records, it's showing all records. I have checked at various points to make sure...
  14. bmc1234

    Securing a Database

    I'm trying to secure my database using a workgroup. I'm a little new to this and I've been reading about it in a book "Inside Out: MS Access 2003". When I go through the whole process of making a workgroup and adding users and passwords, it applies these settings to all databases on the...
  15. bmc1234

    Excel: database query formula fill problem

    I am importing data from an access database into columns A through G. Then, columns H through U all have formulas that are based on the data in A through G, in the normal way where formulas in row X are based on data in row X. The problem is that when data is added to the database and the next...
  16. bmc1234

    code not executing

    I have vba code that runs when a form opens. It checks how many records are included in the form. If there is 0, then is does something specific. The problem is that the code isn't executing. There is the code: Private Sub Form_Open(Cancel As Integer) MsgBox Me.RecordsetClone.RecordCount If...
  17. bmc1234

    problem joining two tables

    I have two tables, a repairdata table that has a field for statusID and a status table that has an autonumber statusID and a status. I'm trying to create a query that shows all entries from repairdata where the status isn't equal to "shpd" or "comp". The problem is that if I specify any...
  18. bmc1234

    Identify when controls have been modified

    I have a form with about 40 controls on it in the form of text boxes, combo boxes, and check boxes. In the afterupdate event of the form I want to identify which fields have been changed and write the new values of those fields to a table that keeps track of changes. I don't want to have to...
  19. bmc1234

    Identify when controls have been modified

    I have a form with about 40 controls on it in the form of text boxes, combo boxes, and check boxes. In the afterupdate event of the form I want to identify which fields have been changed and write the new values of those fields to a table that keeps track of changes. I don't want to have to...
  20. bmc1234

    Populate text box based on combo box

    I have a table storing productID, part#, description, and NSN. I have a second table with a field called productID that is linked to the first tables productID. In a form that stores data to the second table, I want to have two text boxes that display the description and NSN when the productID...

Part and Inventory Search

Back
Top