Search results

  1. D

    SEESAW Form?

    Hi! How do you call this type of form? Can anyone redirect me to a specific forum. Pls see attachment. Thanks Daryll
  2. D

    Count results from SELECT query

    Thanks Mr. Arnel, I got it working
  3. D

    Count results from SELECT query

    I want to count the result based from the select query, but this query doesn't work. A little help is appreciated. SELECT Count(*) AS Total FROM ( SELECT tblPoolReference.EntryDocID FROM tblPoolReference INNER JOIN ( SELECT Distinct Correspondence_ID, Reference_No FROM tblPoolCorrespondence...
  4. D

    What is meant by 0&, 1& and 2&

    How to interpret this code? If (lngPos1 > 0&) And (lngpos < Len(strAddress) - 2&) Then lngPos2 = InStr(lngPos1 + 1&, strAddress, strcDelimiter) End If
  5. D

    What is meant by 0&, 1& and 2&

    Hi! Could somebody tell me please what are the representation of these characters? 0&, 1& and 2& Thanks
  6. D

    Access VBA error "Overflow"

    This is the version I have (IIf(cbStatNotStarted = 0, 0, cbStatNotStarted) / IIf(cbStatTotal = 0, 1, cbStatTotal)) * 100
  7. D

    Access VBA error "Overflow"

    Thanks for dropping in.
  8. D

    Access VBA error "Overflow"

    Thanks! I got it!
  9. D

    Access VBA error "Overflow"

    Hi! Why this code still throws an overflow error IIf( (cbStatNotStarted=0 Or cbStatTotal=0), 0, (cbStatNotStarted / cbStatTotal) * 100 )
  10. D

    Set checkbox value to true if record match

    Thanks to all of your help. I got it working. This link is also a big help and merged with Arnel's post. https://bytes.com/topic/access/answers/555006-open-2-recordsets-once
  11. D

    Set checkbox value to true if record match

    Should it require second rsClone? Like, rsClone2 = rsClone1 if false rsClone1.movenext until it match. If match rsClone2.movenext, then again rsClone2 = rsClone1 loop till end of rsClone2? Sounds like it is the logic, i dont't know how to implement it.
  12. D

    Set checkbox value to true if record match

    This is the code, and it works. rsClone.FindFirst ("Discipline = '" & Forms![SmartDoc]![NavigationSubform].Form.[Pool Reference Entry].Form.[tbDiscipline] & "'") But i need this & Forms![SmartDoc]![NavigationSubform].Form.[Pool Reference Entry].Form.[tbDiscipline] to be replaced by a result of...
  13. D

    Set checkbox value to true if record match

    However, it set the first checkbox to True which corresponds to "Boiler" which is supposed to be on the fourth checkbox the "Comm". Can you tell me why is it so?
  14. D

    Set checkbox value to true if record match

    Mr. Arnel, I'm trying to learn your approach slowly but positively, absorbing the meaning of every line by googling. Now i'm a little bit positive, trial and error mode. So i've re-set my rs to: Set rs = CurrentDb.OpenRecordset("SELECT Discipline from tblPoolDiscipline") and manually set...
  15. D

    Set checkbox value to true if record match

    Additional Info tblRefenceEntry The Temp Table ( I need temp table so user can finalize prior sending it to master table) Generates the Master ID tblReference The master table Stores the ID generated from tblReferenceEntry Stores all information entered by end users through...
  16. D

    Set checkbox value to true if record match

    Hello Mr. Arnel, I set my rs to: Set rs = CurrentDb.OpenRecordset("SELECT Ref_ID from tblPoolPertinence WHERE Ref_ID = " & Forms![SmartDoc]![NavigationSubform].Form.[Pool Reference Entry].Form.[tbID]) I didn't get this part. It throws an error of "The Mircorsoft Access database engine does...
  17. D

    Set checkbox value to true if record match

    Relationship: 1(RefNo) to many(discipline) Main Form Fetch its records from a query (Select * from tblEntry 'the main table) Contain the discipline object Discipline object having the on_click event and if triggers, it open the Pop-up form Discipline field calls concatDiscipline module and...
  18. D

    How to commit changes immediately to its record source

    Your suggestion is a lot way better, instead in the on_click event of a checkbox i inserted the DoCmd.RunCommand acCmdSaveRecord in the on_click event of the button. Same result with no overhead. Thanks
  19. D

    How to commit changes immediately to its record source

    I have a simple continuous form which directly fetch records from its record source. A checkbox and description are only the fields which my form contains. Only the checkbox is amendable. I noticed when ticking the checkbox it doesn't apply the changes immediately to the table until moving the...
  20. D

    How to remove #Error display value of your control

    I thought this was a good practice to enclose a [] on field name so you may able to identify it easily between a variable and a field name. Anyhow, thanks @The_Doc_Man. Your lecture gives me an additional insight.
Back
Top Bottom