Search results

  1. C

    Modified all registries with same Invoice Num; SUB help!

    Basically I want that when a registry is updated, all the fields are coppied to the rest of the fields that share the same invoice id (FACEXP). Here is the code: Private Sub Form_AfterUpdate() Dim rs As DAO.Recordset Set rs = Form.Recordset ' fields to copy BANCO = Me![BANCO] FACEXP =...
  2. C

    Item Number

    The fact is that I need a view like the previous one to interact with another program which I can't modify. I have to do it that way, there is no other option... I guess I'll have to make a VBA module for that? :confused:
  3. C

    Item Number

    Hi! I have a query like this ItemNumber | Invoice | Code 1 | 404 | 02 2 | 404 | 04 1 | 406 | 01 2 | 406 | 09 3 | 406 | A9 1 | 407 | 01 My question is, how can I achieve the ItemNumber thing? the idea is that counts the quantity of items per invoice... any idea? I know how to make this on...
  4. C

    Browse records of subform from main form

    Thanks!! I could make it by using the following code: Dim rs As DAO.Recordset Set rs = [Details].Form.Recordset rs.MoveFirst Do until rs.eof [Details].Form![FieldToBePasted]=Me![FieldWithInfo] rs.MoveNext Loop Thanks a lot Ken for the help!
  5. C

    Browse records of subform from main form

    Hello helpful friends!! :D Does anyone know now how to make Cmd functions work on subforms? I kinda want to make a massive paste on a field of a subform, so what I'm doing is kinda like this: Code: DoCmd.GotoRecord,, acLast LastRec = CurrentRecord 'get position of last rec DoCmd.GotoRecord...
  6. C

    Controlling records of subform from main form

    Thanks! that worked for handling different fields which is part of what I was looking for!!! Does anyone know now how to make Cmd functions work on subforms? I kinda want to make a massive paste on a field of a subform, so what I'm doing is kinda like this: DoCmd.GotoRecord,, acLast LastRec =...
  7. C

    Problem with subform and criteria of query

    Oh lol!! Thanks a lot!! I have the habit to edit subforms on new window since I find it easier but never realised it could bring up those problems. :D Thanks again!
  8. C

    Problem with subform and criteria of query

    I have this subform: FRUIT(combobox) VARIETY(combobox) Variety combobox depends on FRUIT. So VARIETY combobox comes from a query which has a criteria id related to what it's being chosen at FRUIT combobox. So far so good... The problem comes when I use this form as subform, it asks me for...
  9. C

    Controlling records of subform from main form

    Hi! I have a main form: MAIN_FORM and a subform on MAIN_FORM called SUB_FORM I have a button on MAIN_FORM to browse records but I want to make effect on the SUB_FORM I tried this: DoCmd.GoToRecord acDataForm, SUB_FORM, acFirst I also thought of using a header for the subform, but since...
  10. C

    Take out items from Combobox once chosen

    Yeah, I mean something like what I think you understood. You have let's say a combo with 7 banks... I select one of em for a specific registry... Then, when i create a new registry, I would like the combo just to show up 6 banks in the combo, the ones that haven't been used yet.
  11. C

    Duplicate record with related records

    Sorry! I missunderstood the proccess of that DB, now I get and think I got a new idea on how to sort it out. Actually I don't wanna do that, the fact is that I sorted my db differently. You have to create the relationship Company-Bank and then, daily, you also have to be chosing all the...
  12. C

    Duplicate record with related records

    I created another topic about my third idea: http://www.access-programmers.co.uk/forums/showthread.php?p=678076 Anyway, if any of u got any idea for the "default value" thingie or create those records automatically would be nice... maybe with some VBA, what do you think?
  13. C

    Take out items from Combobox once chosen

    I have something like this: tblDays: DAY ID, BANK ID tlkp: BANK ID, BANK NAME And on tblDay I have a form that displays a combobox for Banks. I would like that once you choose a bank, that specific bank is out from the combobox. I tried the followin: Created a query that returns: BANK...
  14. C

    Duplicate record with related records

    Thanks a lot CraigDolphin! What I'm trying to do is exactly the same as what that DB does, but I have sorted it out differently, organizing it principally by DAY instead of COMPANIES since the balances should be completed daily on the company I'm working. The problem with my DB and the one you...
  15. C

    Duplicate record with related records

    Well, anyway, thanks a lot Allan for trying to help me! I don't really know any way to make it work... I thought of probably using the default value option and make it incremental somehow as you go on putting records... do you get what I'm sayin here?
  16. C

    Duplicate record with related records

    Well, actually the way the DB is organized, I'm have the possibility to avoid storing a 0 values. Anyway, I don't have any 0 value on any REL_ID, so that's why I want to have a way to have automatically all the available banks per companies for each day. For example, I create a new day and on a...
  17. C

    Duplicate record with related records

    Yeah, its kinda of that. Every day has to be filled with every company on the DB and every related bank of that company in the DB, and not necessary 0 as value. Here is my current relationship window: On my form I have to select all the available companies with all the available banks per...
  18. C

    how can I do a button that prevent edit ?

    I was looking for something similar to you and couldn't make it that way, but for my purpouse this solution helped me: Acess saving fields automatically....
  19. C

    Duplicate record with related records

    What I'm doing with this DB is storing the available fund of dif companies on dif banks, each day. Each Company can operate with many Banks What I have: tbleDays: ID, DAY tbleFunds: CompanyBank_ID, Value tlkpCompBank: CompanyBank_ID, Company_ID, Bank_ID tlkpComp: Company_ID, Company tlkpBank...
  20. C

    Create a report PDF then email

    Thanks for Answering Ted still I find the code a bit hard to understand lol I don't really find where the "email quotation" VBA calls the "PDF quotation" VBA, are they actually related somewhere? Another thing, where do I gotta pass the variable values to the different functions?? :confused...
Back
Top Bottom