Recent content by blues763

  1. B

    TimeStamp Record After Update event and copy data into another form

    Hi all, I'm back again with another challenge in my working life :banghead:.... I have a simple data entry form on which there are about 30 to 40 data fields to be update by users. One of the field is called "Stage" which is a combo box with 2 entries "Formal Case" and "Informal Case" with...
  2. B

    Retrict User to enter data if Dsum exceeds total

    Its a text field. On the form my Dsum is getting calculated fine. Its just when user update a new record on in tblStage2 via frmStage2 data entry form. I don't want users to proceed when they enter a WTE value that results in more WTE than the Dsum. This mean I would also require my Dsum to get...
  3. B

    Retrict User to enter data if Dsum exceeds total

    Hi, Thanks for replying on this. I'm still having dificulties to work this out. Please see the attachment of a screen shot of my form. WTE Appointed is where I need to update the value that gets stored in table (tblStage2) At the bottom of the form there are 2 text boxes:- Total_WTE_VA is...
  4. B

    Retrict User to enter data if Dsum exceeds total

    I need to be able to restrict users enter a value in the text box (on Form B) callled "FTE Assigned" if Dsum of a field called "FTE Allocated" in another form A is less than what is going to be sum of FTE Assigned after the value is entered. Both these forms are used by users to enter data in...
  5. B

    NetworkDays returning #Error

    Perfect.... Thanks a lot I did think that but I guess a new-bee is always scared..
  6. B

    NetworkDays returning #Error

    Hi Tried using above but it comes back with a "Invalid use of Null" error then kill my database where my forms stops working (File Not found) luckily I have a back up copy
  7. B

    NetworkDays returning #Error

    Hi there, I'm using the following function to calculate date diff in network days (excluding weekends) Public Function NetWorkdays(dteStart As Date, dteEnd As Date) As Integer Dim intGrossDays As Integer Dim dteCurrDate As Date Dim i As Integer intGrossDays = DateDiff("d", dteStart, dteEnd)...
  8. B

    Text Field auto update when adding new records

    Yes it did Thanks a lot
  9. B

    Text Field auto update when adding new records

    I'm sorry I might not be very clear. Job Ref Table is the main table containing the "Job_Ref_No." as primary key , therefore it cannot have duplicates. Candidates can have a multiple "Job Refs Nos" which also act as foreign key in the candidate tbl code im using is on the button placed on...
  10. B

    Text Field auto update when adding new records

    Candidate cannot have more than 1 Job Ref but Yes a Job Ref can be assigned to more than 1 canditate. I do have tables for Candidates data with Job Ref as a Foreign Key which is on one-to-many with Job Ref (Primary Key- Jobs Table) The add button I have on the Main Form which has only Job...
  11. B

    Text Field auto update when adding new records

    I have 2 tables Master table (Jobs) containing the primary key ("Job Reference") and 2nd table (Candidates) with the foreign key ("Job Reference") 2 Forms frmJobs Form to view job details frmCandidates form to view Candates information I have placed add new candidate button on the frmJobs...
  12. B

    Sub Forms based on a query.

    I have a search form on which I have 2 subforms that bring back search results based on a combo box selection on top of the page. Search results come back fine but I have button on both of these sub forms that needs to open record based on the subform values. Code is DoCmd.OpenForm...
  13. B

    Like "*" and Date Range in a query

    Sorry mate... Ignore my previous reply. I just managed to use the nz function with between parametre on my query and it works.... Thanks for you help... Regards...
  14. B

    Like "*" and Date Range in a query

    Hi mate Thanks for a quick reply My search Form is based on a query not table. I could do with a like criteria with in the query or code as well as long it runs the query. Yes 2 dates being used on the same field...
  15. B

    Like "*" and Date Range in a query

    Hi, I have built a search form based on a bound to a query where I have Like criterias to search data by Departments, Groups, Names etc... For e.g to search by Surname - I have -- Like "*" & [forms]![frm_Search]![Surname] & "*" This works great and returns Surname data that looks like...
Back
Top Bottom