User Profile

Collapse

Profile Sidebar

Collapse
nickstock
nickstock
Last Activity: Feb 5 '13, 01:45 AM
Joined: Apr 20 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nickstock
    replied to dcont within a loop returning error
    Thanks for that it helped a lot as my mind was pickled, in fact i had tried that earlier on but as always with dates and times was unsure, but once i had that corrected i found a further error which was that i had in fact set [ctech] in the table to a Text field (doh) why the hell would i want a text field to store technician id's . well its getting there now and after that i have to alter the master table and correct any issues from the text field...
    See more | Go to post

    Leave a comment:


  • nickstock
    replied to dcont within a loop returning error
    AH ha, flaming quotes lol i thought i needed a hash and as you can see i used them in the code above newtime = "#08:30#"
    but i was using two hashes so i will try your method and let you know.
    thanks
    Rabbit
    See more | Go to post

    Leave a comment:


  • nickstock
    replied to dcont within a loop returning error
    Code:
    goodtime = Nz(DCount("ID", "timefix", "[2ndtime] < ""08:30:00"" AND [ctech] = " & Rst![ctech] & " AND [ctype] = 1"), 0)
    id is autonumber, 2ndtime is long time, ctech is number, ctype is number.
    See more | Go to post

    Leave a comment:


  • nickstock
    replied to dcont within a loop returning error
    Perhaps someone could suggest a better way of achieving what i need.
    so working with a single table that consists of date, techid, type of clocking, on time and off time + edited ontime and edited off time (not entire list or actual field names)
    i need to do the following.
    For selected date range i.e between 01/01/2012 and 08/01/2012 loop through all records and where the type of clocking = 5 check if its before 08:30 and if it...
    See more | Go to post

    Leave a comment:


  • nickstock
    replied to dcont within a loop returning error
    error is 3464 data type mismatch in criteria expression
    See more | Go to post

    Leave a comment:


  • nickstock
    started a topic dcont within a loop returning error

    dcont within a loop returning error

    Hi all im struggling with this and some help would be great.
    overview: ive written a workshop time and attendance program and all works great however my boss has found that when doing a wages print out to show in and out times for the week some staff arrive early for the shift and remain on idle time until after shift starts, thus they get paid too much time, so i decided to write a function that will run when loading the wages section before...
    See more | Go to post

  • nickstock
    started a topic Default printer margin settings in accde

    Default printer margin settings in accde

    Hi all im writing a narcode label app and all is good except whenn i distribute as accde for runtime the report margins change and labels are messed up.
    I have a code to change the default printer to the label printer and then print the label then change it back to original howeverthe margins are affected.
    As this is for small labels the printer runs with zero margin.
    I have set the default margins in access 2010 under database...
    See more | Go to post

  • Hi Thanks for the reply
    Using Access 2010
    file type is accde
    mostly using macros to process variables then open new form and then close old form
    depending on variables sometimes a macro will runcode() then vba will execute udate statments then the macro will contimue and do the open new form and close old form bit.

    i suppose i could stop the macor after the runcode() and then use vba to close and open the...
    See more | Go to post

    Leave a comment:


  • nickstock
    replied to DSUM with fields from different tables?
    Hmm, i think i had this or somthing like in access before. i might be wrong but i tend to cobble things to get them to work and i think i ended up creating a textbox and seting it to do a dlookup for the required value, then i think access could not work with the value from the dlookup although it did display the answer so i think i then added another text box and set its value to be that of the previous then used the new text box value in the calc....
    See more | Go to post

    Leave a comment:


  • nickstock
    started a topic Pop up form sometimes opens behind another, why?

    Pop up form sometimes opens behind another, why?

    Hello all, im fairly new to access but learing fast and i have written a tuch screen app to record mechanics time and work clockings, it works very well i feel and is a huge improvement on our previous commercial app but i have one issue..
    my app runs on a 12" tuch screen monitor attached to a pc, the app runs at start up and the first form to open is a splash, this form then loads a hidden form to keep a query open and save repeating...
    See more | Go to post
No activity results to display
Show More
Working...