Recent content by Anishtain4

  1. A

    Distributing the form

    Any idea? Give me a hand on this
  2. A

    Distributing the form

    Hi all Assume that you have made an access database and some forms, you have split front end and back end but you keep on debuging and developing your front end naturally. To distribute easily and not have to go on every computer after every single change of front end I made as many files as...
  3. A

    slow cell marching

    I have a set of cells which I want to check and clearcontent cells that have 0. there is a total of 32 cell and my code is For i = 0 To flds Call CpyNum(Cells(i + jRowS, ColS), Cells(i + 2, srcCol)) 'Next Sub CpyNum(src As Range, des As Range) If src <> 0 Then des = src Else...
  4. A

    Passing SQL statment into recordsource for a report

    when you are calling the report to be open write the where condition for it
  5. A

    Combining multiple records into one record

    if you wanna get rid of the reprogramming all of your forms you can change the structure and make a query which joins two tables, then just replace name of the table with the name of the query in your forms, this is so fast. but if I were in your shoes I would redo things cause that would make...
  6. A

    Saving back end

    how do you protect the back end database from users? when you give them front end you have to share the back end so their forms be able to update it, but meanwhile users themselves have access to the back and and are able to remove it, how do you protect the back end from manual modification?
  7. A

    Database connection

    As my code above declares I haven't used any drive letter, I just used simply currentdb and when I link tables to the backend they does not update however in link manager path are correct!!!! I need some other method to connect my database to front tend rather than "set db=currentdb"
  8. A

    Database connection

    I use this method to connect to my data base: dim db as DAO.Database Dim rst as DAO.RecordSet ...... set db=currentdb set rst=db.openrecordset(SQL) ..... and I splitted the database, but when I put that on the server it wanted to use tables on the address they were on my hard drive, then I...
  9. A

    using functions in reports

    Got it, it's solved
  10. A

    Condition on report forms

    I used to use the conditional formatting on the format menu, where do you write the piece of code you mentioned? in the format property of the of the object? I tried that and couldn't make it
  11. A

    using functions in reports

    I want to use some functions I have in a module for data that should be displayed in a report, how should I do that? for example control source of a text box in a report is Code, but I want Code^2/10 ( the actual function is much more lengthy and calls some other functions) where should I apply...
  12. A

    Condition on report forms

    Thanks man, you are amazing, I love you. However I knew the second method but I didn't want to make another table since the database is online and it's easier to change only the forms on front end. I used the first method and that is really helpful. I didn't follow you on formats :D haven't ever...
  13. A

    Condition on report forms

    I have a report, but there are some equivalents for the fields I get from my table, for example type=1 means water system and type=2 means sewer system. as you can see i have added the type field in the table, I tried =iff(type=1,"water","sewer") in the control source box, but when I open up the...
  14. A

    SQL statement is cutting off!!

    Thanks, it helped a lot
  15. A

    SQL statement is cutting off!!

    I'm using access 2003 I tried to extend the string length by dim strSQL as String*2000 but it's not working yet how can I use query for opening recordset? using their name instead of strSQL? and how can I set the parameters of them? I need to get specific engineer number into the query I also...
Back
Top Bottom