Recent content by ria_arora

  1. R

    Top Product

    I know this is a very bad model but I don't have any choise. Please let me know if you know some work around for this. Thanks Ria
  2. R

    Compact Secured Database

    I have managed to compact secured and unsecured both. Here is the code: Public Sub CompactRepairAccessDB(ByVal sDBFILE As String, _ Optional sPASSWORD As String = "") Dim sDBPATH As String, sDBNAME As String, sDB As String, sDBtmp As String sDBNAME = sDBFILE 'extrapulate...
  3. R

    Update after import is not working

    Don't know what happened. I created new form and in that DoEvent is working but update is still not working Set objAccess = CreateObject("Access.Application") objAccess.OpenCurrentDatabase strCnPDatabaseName, , strCnPDatabasePassword...
  4. R

    Update after import is not working

    After adding DoEvents my form is not getting opened. Regards Ria
  5. R

    Peculiar Query

    Great... You got the point. Eval is not working but second work aroud is working fine. Thanks a lot. Regards Ria
  6. R

    Update after import is not working

    I'm trying to update one of the field after loading / importing the data in the table. But somehow that field is not getting updated. Below is the code I have used for the same. Set objAccess = CreateObject("Access.Application") objAccess.OpenCurrentDatabase...
  7. R

    #Error while summing up the columns

    Thanks to all. I have splitted the columns into two columns. That's the only workaround works. Thanks a lot for good suggestions. Regards Ria
  8. R

    Syntax for MINUS

    Basically I want to compare each cell of the record. Any idea how to do that? Ria
  9. R

    Top Product

    I have 160 products in a table (one columns for each product). Tables structure is like: RM Customer Prd1Rev Prd2Rev Prd3Rev Prd4Rev ..... Prd160Rev What will be the query to find top 50 product's revenue? And what will be the query to find top 50 product's revenue and the RM? something...
  10. R

    #Error while summing up the columns

    Hi Chris, I can't change the design / normalising as this is implemented in other systems as well. I need some work around for this. I'm sure there will be some work around for this. Thanks Ria
  11. R

    Not able DELETE / INSERT in Remote Database

    smig You can use *, but without * also works fine. It's like when you want to count number of records instead of SELECT COUNT(*) FROM TableName You can write SELECT COUNT('x') FROM TableName and that will be faster then *.
  12. R

    Not able DELETE / INSERT in Remote Database

    Thanks Bob for the good suggestion :)
  13. R

    #Error while summing up the columns

    I really did not get you? Can you please throw some more light? Pls give me some example. Thanks Ria
  14. R

    #Error while summing up the columns

    When I summing up more than 100 columns then total is showing #Errorinstead of amount. Select C1+C2+C3+C4+C5+...+C100 Till 100 columns sum is ok Select C1+C2+C3+C4+C5+...+C160 but if I add another column then sum is showing as #Error instead of value. :mad: Please let me know what is the...
  15. R

    The table name you entered doesn't follow System object-naming rules

    Thanks a lot for the help. Still did not get any solution for below issue http://www.access-programmers.co.uk/forums/showthread.php?t=205121&page=2 Really need some experts to solve this issue. ;)
Top Bottom