Search results

  1. R

    Using images stored in local folder in report

    Ah! Maybe I didn't make the question clear... What I need to do is produce hard copies from Access Reports. The web version isn't a problem. Cheers Rob
  2. R

    Using images stored in local folder in report

    Hi All; Any advice would be much appreciated…. I have a db of products which drives an ASP website, and includes links to images, which I have now stored locally (with the image path amended to point to the local images folder) along with the images folder containing all the images. What I...
  3. R

    Print a report to a specific printer from VBA

    Have a look at the following which may help http://www.access-programmers.co.uk/forums/showthread.php?p=344568#post344568
  4. R

    Using a data entered for a query

    Hey! Where’s your sense of adventure? – I did say that it was an ‘arse around tit way’ but I like it because once the functions are in place then you can use the same query over again passing the parameters from wherever, not just your original form. I also find validation easier using VBA...
  5. R

    Please Help me finding the waiting fucntion in VB

    Have a look at attached......
  6. R

    running code form a module on startup

    Try using a sub rather than function ie: Public Sub Timing() Call opentimingmain End Sub
  7. R

    Please Help me finding the waiting fucntion in VB

    Create a sub using the timer to switch the colours, then call it from the click event of your button. Good luck...
  8. R

    Please Help me finding the waiting fucntion in VB

    You may be able to use the timer property of your form. Look up 'On Timer' & 'Timer Interval' in Help..
  9. R

    Calculating time taken on tasks help!

    Chill out now for Xmas....
  10. R

    Calculating time taken on tasks help!

    Add a text box to your form, then in the ControlSource property enter: =[End_ord_date]-[Start_Ord_Date] (Obviously use your field names!!) This should display the no of days elapsed...
  11. R

    Calculating time taken on tasks help!

    Maybe the simplest way to do this is to build a query including the start and end date fields, then just subtract the start date from the end date to give you the number of days: Enter the following in the field row to the right of your dates. NoOfDays: [End_Ord_date]-[Start_Ord_Date] Cheers
  12. R

    newbee Printing to different printers

    Have a look for Printer Property / Printers Property in the VBA Help files: The following changes the default printer to the one specified in 'PrinterIndex' The Printers collection is indexed beginning with zero. If you refer to a printer by its index, the first printer is Printers(0), the...
  13. R

    Price for Database

    Did you build the system in work's time?
  14. R

    Using a data entered for a query

    I get round similar situations by assigning the required values to variables, then creating a little function which you can use in the criteria of your query to retrieve the values – this may be an arse around tit way of doing it, but it works! Create the variables in a new module, then build...
  15. R

    Help with update table code.

    Is the type mismatch because your'e using Yes/No field? Anyway, why not try something like the following:: The easy way... dim sSql as string sSql="UPDATE Faults SET Faults.printed = 1 WHERE (((Faults.printed)=False));" DoCmd.RunSQL stSql If your're not...
  16. R

    access slot machine algorithm

    Slot Machine How are you going to handle 'Nudges' and 'Holds'?
  17. R

    Enter time using 3 combo boxes

    Pleased to be able to help Rob :p
  18. R

    Permutations and Combinations

    Surely you don’t want duplicate values in the results: ie. 1,1,1,1,1,1,1,1,1,1,1,1 1,2,1,1,1,1,1,1,1,1,1,1 1,3,1,1,1,1,1,1,1,1,1,1 etc. etc. I’m going to the Pub!! Rob
  19. R

    Enter time using 3 combo boxes

    I'm sure that there must be a better way to do what you want, but have a look at the following anyway... it seems to work! Rob Table Fields - ID: Date: Time form TxtID: TxtDate: TxtTime three combo boxes - CmboHour: CmboMin: ComboAmPm Option Compare Database Option Explicit Dim hr 'hour...
  20. R

    Compact and Repair - Reset Autonumber field

    Could you continue running the code when the db re-opens by setting a flag somewhere before compacting which is checked when the db opens. :) Rob
Back
Top Bottom