Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: din2005
  • Content: Threads
  • Order by date
  1. din2005

    age groups

    Hi all i have query which looks for patients under 18 and i would like them to be grouped between certain ages? for eg. ages howmany 0-4 5-10 11-18 the sql code i have got is this so far.. SELECT PATIENTS.Hospital_no, PATIENTS.firstname, PATIENTS.Surname, TREATMENT.TREATDATE...
  2. din2005

    show records that dont match

    Hi all, I have 2 tables... (table1 and table2) i would like to compare them and show records that dont match? could some1 show me an example or something regarding this... many thanks
  3. din2005

    Complicated append query

    Hi all, I would like to make append query which adds dates for the next 2 years but also adds slot 1 to 3. But does not include sundays. basically a query that creates dates monday to saturday and each day has 3 slots. e.g DiaryDate Slots 19/02/2007 1 19/02/2007 2...
  4. din2005

    Inserting a date clause for running total

    Hi how do i include a where clause so it adds up the value between ReqDate. e.g RunningTotal: Sum(DSum("OrderValueIncVat","tblpreorder","PreOrderID <= " & [PreOrderID]))where between reqdate Startdate and endDate. many thanks
  5. din2005

    Group by year and count

    Hi i have this query where i would like to show all private patients and group them by year for e.g year patients 2006 15 2005 26 etc so far i've got this SELECT PATIENTS.Hospital_no, PATIENTS.firstname, PATIENTS.Surname, TREATMENT.TREATDATE, TREATMENT.PrivatePatient...
  6. din2005

    how to know if your in a subform???

    Hey all i have this subform with a check boxbut also u can maximise this subform to see all the form. Now about the checkbox i want it to do the same functionality in the after update if it was maximised or if it was in a subform... can this be possible? i.e check if u r in subform and do the...
  7. din2005

    Error 3022 dupplicate record

    Hi all, For some apparent reason when i go to a new record it says that there is a duplicate record. When i check my autonumber field theres about 7000 records. now every time i click on a new record the autonumber has started at 1156 and so on and these records have been already done. its not...
  8. din2005

    form timer event

    I've all ready have code to flash label every 1 second or so... but what i would like to do have another timer event to flash another label every 5 seconds. Can this be done... is it posible to describe it in easy steps and a sample code will be very helpful many thanks.
  9. din2005

    Find Record by two criteria

    Hi all is it possible to bring up a record by 2 criteria's e.g ' Set rs = Me.RecordsetClone ' ' stLinkCriteria = "Treatment_ID = " & Me.txtTREATMENT_ID ' rs.FindFirst stLinkCriteria ' Bookmark = rs.Bookmark this shows how to bring up a record based on treatment id How would i...
  10. din2005

    Show dates the past 2 year to now

    Hi all am sure this might be a simple one... but am abit slow today how would i show the dates of all patients who have been treated in the past two years to now! do u know what the criteria would be? many thanks
  11. din2005

    Mail Merge

    Hi all! I have this letter which is mail merge but when i try to display more than 1 record the last record does not appear. The mail merge fields am using are «LESIONNo» «Next Record If»«Sided» «PATHOLOGY» «PDose» «PrescripCont» «LESIONNo» «Next Record If»«Sided» «PATHOLOGY» «PDose»...
  12. din2005

    type is not defined???

    Hi all i recently exported my project in vb to vb.net. However everything seems to be ok so far, but on certain lines of code its undelined with blue line. When i mouse over it says suchas "type DNSTools.NowPlayingInfo is not defined" I think theres a reference that may have been missed out how...
  13. din2005

    Compile error - Procedure declaration does not match...

    Hi all, I get this error msg when i compile my code Compile error - Procedure declaration does not match description of event or procedure having the same name. it highlights this line of code Private Sub DgnDictEdit1_PlaybackNowPlaying() ' Updates the visibile text selection...
  14. din2005

    Nearly Completed all vb to VBA need help on the rest!

    Hi everyone! I have this code that was written in vb.net and i've nearly converted it all to vba. There are few minor codes that i don't know how to change in to vba. They are shown in red. This will be greatly appreciated if someone could have a look and help me finish it off. *Its long piece...
  15. din2005

    Make a certain record un editable

    Hi all... Is there anyway to make a record uneditable. i.e using code ... so when it comes to this patient the record cannot be edited???
  16. din2005

    Flashing label without ontimer event

    Hey up everyone! Is there way to flash a label without using the ontimer event. Since am already using the ontimer event for something else???? Any sample code or examples will be very useful many thanks
  17. din2005

    Ignore sided if certain condition is met

    Hi all in my query i have a field called sided Sided: [Side] & " sided" Now in the side field it will say left or right or sometimes midline. However it does not make sense if you put down midline sided. Is there anyway to check if it comes up as midline then do not include sided. e.g left...
  18. din2005

    error 76 path not found

    Hi all, I get an error msg path not found,the line highlighted red gives me error! Any suggestions how to sort this out! ' 'Move folders to m:\ Drive where the snapshots are kept sfol1 = "C:\ImageTransfer" ' change to match the source folder path dfol1 = "Y:" ' change to match the...
  19. din2005

    How shall i go about this???

    Hi all i have continuous form. It has an order number e.g 0012312345. This order number has files in certain location "Z:\StockSystem\CopyOrders" which are saved in the format 0012312345.msg is there anyway in the continuous form have a checkbox to show whether each order number has a file...
  20. din2005

    runtime error 438

    Hi i get this error msg saying runtime error 438. The code points out to line highlighted red.... any suggestions how i could solve this? Dim fso As Object Dim myFolder As Object Dim AllFolders As Object Dim curFolder As Object Set fso = CreateObject("Scripting.FileSystemObject") Set myFolder...

Part and Inventory Search

Back
Top