Search results

  1. A

    Help with ComboBox

    I did it with AfterUpdate and it does not catch the event. Can you please help ?
  2. A

    Help with ComboBox

    In the Form_Load() Sub I wrote the AddItem() functions for the combobox. I have called the ComboBox Graph. What do I need to put in the Graph_Change() Sub ? Where is the AfterUpdate() event ?
  3. A

    Help with ComboBox

    How do we do in VB so that a user can select an item from a ComBoBox and that the event fired by the item selected execute a certain code ?
  4. A

    Access to Excel 2007 curious behavior

    I have written an application that worked fine with Excel 2003. I have upgraded to Excel 2007 and some problems occur when translating Access tables into Excel charts. Here is the sample of code of that worked fine with Excel 2003 : Dim Excel As Excel.Application Set Excel = New...
  5. A

    Query problem

    I need date , not Date. Access does not support case sensitivity ?
  6. A

    Query problem

    The following query does not work since it does not accept "AS date". Why ? It accepts AS RunID : SELECT 257 AS RunID, RawData.fullName, RawData.name, RawData.category, RawData.type, RawData.subType, RawData.numberOfLines, RawData.dataType, RawData.virtual, #1/3/2007# AS date...
  7. A

    syntax error in Insert Into statement

    What is the syntax error in this Insert Into statement ? INSERT INTO RawData(RunID,fullName,name,category,type,subType,numberOfLines,virtual,date,namespace) SELECT 257 ,fullName,name,category,type,subType,numberOfLines,virtual,#1/3/2007#,namespace FROM RawData WHERE namespace ='customer.demo'...
  8. A

    Query Help :copying rows

    Not that fast... I rerun the thing again. And instead of 256 for id , I got 25. The id value is still what it should be : 256 Then I add or remove spaces and get the right query. I run again the application and the query string gives me 25 again. This is not deterministic. And so on. I...
  9. A

    Query Help :copying rows

    I removed 2 blank spaces from the string : sqlSt = "" sqlSt = sqlSt & "INSERT INTO RawData(RunID,fullName,name,category,type,subType,numberOfLines,virtual,date,namespace)" sqlSt = sqlSt & " SELECT " & RunID & " ,fullName,name,category,type,subType,numberOfLines,virtual," & "#" & d & "#"...
  10. A

    Query Help :copying rows

    Dim sqlSt As String
  11. A

    Query Help :copying rows

    Sorry for that. Why does the "=" disappear as well ?
  12. A

    Query Help :copying rows

    Yes, before. On debug I have id = 256 which is expected.
  13. A

    Query Help :copying rows

    sqlSt = "" sqlSt = sqlSt & "INSERT INTO RawData(RunID,fullName,name,category,type,subType, numberOfLines,virtual,date,namespace)" sqlSt = sqlSt & " SELECT " & RunID & " ,fullName,name,category,type,subType,numberOfLines ,virtual," & "#" & d & "#" & ",namespace FROM RawData " sqlSt = sqlSt & "...
  14. A

    query string mystery

    sqlSt = "" sqlSt = sqlSt & "INSERT INTO RawData(RunID,fullName,name,category,type,subType,numberOfLines,virtual,date,namespace)" sqlSt = sqlSt & " SELECT " & RunID & " ,fullName,name,category,type,subType,numberOfLines,virtual," & "#" & d & "#" & ",namespace FROM RawData " sqlSt...
  15. A

    Query Help :copying rows

    How could I forget it ?
  16. A

    Query Help :copying rows

    Thanks. I figured it out. What is the problem with the following query : "INSERT INTO RawData(RunID,fullName,name,category,type,subType,numberOfLines,virtual,date,namespace) SELECT 257 ,fullName,name,category,type,subType,numberOfLines,virtual,#1/3/2007#,namespace WHERE namespace =...
  17. A

    Query Help :copying rows

    How do we select a specific Date format field ? i.e Date field is 1/10/2007 Select field1,field2,1/10/2007 Where Condition ?
  18. A

    Query Help :copying rows

    OK. What about the ID field ?The ID field is field1(autonumbered) and there is no way I can know in advance their values for the inserted rows. Should I do : INSERT INTO TableName( Field2, Field3) SELECT Field2, "SpecificData" FROM TableName WHERE Whatever ?
  19. A

    Query Help :copying rows

    OK. How do I copy rows ( part of the fields) of a table into the same table and filling the other fields with specific data with a single query?
  20. A

    Query Help :copying rows

    Hi , I need to copy rows from a table to a specific location in the same table. I suppose that it is possible to copy rows from a table to the same table as followed : INSERT INTO Table SELECT * FROM Table WHERE Condition How can I insert into a specific location based on another...
Top Bottom