Search results

  1. C

    How to pass a textbox value into a query?

    Thanks. It works. Now I have new form, name as : frmMainForm. frmTest become subform in the frmMainForm. What will be new VBA code in the query above ? I've tried [Forms]![frmMainForm]![frmTest]![textboxA] , but it doesn't work. Error message: "Method 'Item' of object 'Forms' failed" Any...
  2. C

    How to pass a textbox value into a query?

    Form Name: frmTest with textboxA Query Name: qryTest with field : fldA, fldB, fldC My current VBA coding as below :- A) For FORM Private Sub cmdA_Click() DoCmd.OpenQuery "qryTest" End Sub B) For Query fldA with criteria written as : textboxA I believe the root cause of the problem...
  3. C

    Error in SubForm - Please help !!!

    I am trying to get the value from subform by putting the message box. However there is an error prompted out. This mean the [Forms]![[formname]![textbox] doesn't work correctly. Any idea how to solve this syntax ?
  4. C

    Error in SubForm - Please help !!!

    Can anyone has a look to the attachment below for error and suggest some resolution code ?
  5. C

    How to write VBA to filter query ?

    How to resolve VBA filtering query issue ? I have these pieces of codes inside my form (name: frmBOMComparisonQuantity) I have inserted below code into the QUERY : Report_BOM_Comparison_StandardQty_WithoutUnitPrice and Report_BOM_Comparison_BalanceQty_WithoutUnitPrice . Both queries are the...
  6. C

    How to call worksheet name?

    I have this piece code here http://www.access-programmers.co.uk/forums/showthread.php?t=212746 Can anyone suggest how to call rewrite the code for the highlight in red color so that the above function can call different worksheet. Currently the code only manage to call the FIRST worksheet
  7. C

    How to load worksheet name into combo box?

    TQ. exactly what i want.
  8. C

    How to load worksheet name into combo box?

    As title, i am using MS Access 2003 to write VBA to call a MS Excel and wish to load all worksheet name into combo box. Anyone has the idea how to write this piece of VBA code ?
  9. C

    Recurring Table - How to design base on sample data ?

    I am designing tables for a BOM (Base of Manufacturing) system. Example below illustrate the sample data I have How to create this table base on above info in order to have recurring call for the same table for report generation . Anyone can suggest ?
  10. C

    What events to use ?

    Attachment below show the total price comprised of few parameters. I already create a function to store the formula as shown in the attachment. The function name is CreateTotalPrice. My questions are following a) What object events I need to use to call the above function ? b) Any changes to...
  11. C

    Unbound subform

    How to create unbound subform? Anyone?
  12. C

    How to create dynamic tab control ?

    Any suggestion?
  13. C

    How to create dynamic tab control ?

    Look at the attachment
  14. C

    How to create dynamic tab control ?

    Anyone know how to create dynamic tab control ?
  15. C

    How to show the total price after the form load ?

    My questions did not well put in previous post. Additional, the wrong attachment is uploaded. Thus, I've deleted and re-post. I never notice that you have replied something, so sorry. What is your comment ?
  16. C

    How to show the total price after the form load ?

    Total price comprised of parameter like (SubForm total CT * Quantity * PerHourCost ) + etc cost ... I already have that formula, question is how to insert the formula to the following :- 1) After the main form is loaded ? 2) When use press the record selector at main screen, how the total price...
  17. C

    Navigation Selector and Sequence

    In the attachment below, how to disable the "create new record" navigation selector only and to make auto sequence number for the field under the subform ?
  18. C

    How To Display Form Footer Text Box ?

    Thanks .............
  19. C

    How To Display Form Footer Text Box ?

    Thanks for the suggestion above, it is one way. Any chance to show the grand total at the form footer inside the subform at the execution time in a main form ?
  20. C

    How To Display Form Footer Text Box ?

    There is one grand total text box in a subform under the form footer. How to display the text box at the subform and after this subform is embedded into a main form at the execution time?
Back
Top Bottom