Recent content by RitaMoloney

  1. R

    Problems printing a filtered report!!!!

    Hi, I was wondering if anyone could shed some light on this problem. I have a pop-up form that is used to filter info on a report for Labels. When I filter info on the report and click the print button. The filter doesn’t seem to be applied to the report when it is printed even though it seems...
  2. R

    Focus on a report before printing??

    Hi, I have a pop-up form which I use to filter data on a report that prints out labels. I also have some code on my report which asks the user if they wish to skip labels, they enter the number of labels the wish to start printing from. This code runs when the Apply button on the form is...
  3. R

    Problem with some VB code??

    Hi, I put this code in the Form_Delete event as NumberUsed field will change constantly when the user add records they enter the NumberUsed (number of parts) for a job. I only want this code to kick in when a row is deleted. UnitsInStock = DSum("[NumberUsed]+[UnitsInStock]", tblStore!PartNo =...
  4. R

    Problem with some VB code??

    Hi, I do realise the complications about sorting these values and I know it's against the rules. But, I really need to store these as other calculations in different parts of the database needs the values, which has all worked out well so far. There must be a way to save the unbound test box...
  5. R

    Problem with some VB code??

    Hi Kh, Have you no other suggestion other than I haven't named my fields correctly???
  6. R

    Problem with some VB code??

    The subform's recordsource is made up from two tables as follows; tblStore PartNo (PK) PartName UnitsInStock ReOrderLevel Discontinued Remark tblPartsUsed PartUsedID JobDetailsID PartNo (FK) NumberUsed The relevant fields would be PartNo, PartName, UnitsInStock, NumberUsed
  7. R

    Problem with some VB code??

    Hi, Just wondering what exactly do you mean doing the calculation on the form footer? I need to say if a row is deleted only then add the NumberUsed back to UnitsInStock i.e. DeleteRow=[NumberUsed]+[UnitsInStock] How do I do this automatically on the form footer? could you explain a little...
  8. R

    Problem with some VB code??

    Hi, I have a continuous subform, where records are saved too. The number of parts used are entered in each row and then the new UnitsInStock value is calculated accordingly. UnitsOnHand:[NumberUsed]-[UnitsInStock]. This UnitsOnHand becomes the new UnitsInStock value which is working fine so...
  9. R

    Problems with VB... can someone please help??

    Hi, I have adapted code from ghudson's example on 'http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=52736 I have a subform called frmsJobPartsUsed, which contains a multiselect list box where the user can select multiply parts used for one job and click a save button...
  10. R

    Problem with code in multiselect listbox

    Hi, I have adapted code from ghudson's example on 'http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=52736 I have a subform called frmsJobPartsUsed, which contains a multiselect list box where the user can select multiply parts used for one job and click a save button...
  11. R

    Trouble with If statement

    Hi, That worked. So easy when someone else shows you. Thanks a million for your help. Rita
  12. R

    Trouble with If statement

    Hi, I am having problems with an If statement and was wondering if anyone could help me out with it. What I am trying to do is; If UnitsInStock is 0 (maybe this should be null not 0) Then show a Message. Or Else If UnitsInStock is greater than 0 but less than or equal to ReOrderLevel Then Show...
  13. R

    Copy records

    Hi, I need to copy a record in the table tblAccDetails to all other records in the same table that equals the same Collection Type in table tblCollections. (The user will enter the first record in tblAccDetails) tblAccDetails AccDetailsID YearID CollectionID (FK) CollectionDate Status...
  14. R

    Have a combo box lookup values on a different subform

    Thanks for that, I didn't know. Rita
  15. R

    Have a combo box lookup values on a different subform

    On my subform (frmsCollectionDetails) I need a combo box that look up values (CollectionID, CollectionType) in a different subform(frmsCollections) on a different form. (there is a one-to-many relationship between these tables). On selecting the CollectionType, I want the corresponding...
Back
Top Bottom