Recent content by liuec

  1. L

    On error restart?

    Thanks, that does the trick... Here's another problem, is there a way that i can automatically click on the "End" bottom when the debugger message pops up??
  2. L

    On error restart?

    Hello, i'd very much appreciate it if someone can tell me how to write an error handling line that will rerun the current public sub or function from the start upon error... thanks!!
  3. L

    referring to a particular cell in query..... basic =(

    worked it out using another query and a subreport... Thanks anyways! :)
  4. L

    referring to a particular cell in query..... basic =(

    Oh ok, for now i'm testing it in VBA. so my code looks like this: Dim Strg1 as String Strg1 = DLookup("[Column1]", "qry1", "[Column0]=10") and I check variable Strg1's value so I know if this Dlookup is working. Ultimately, I'm trying to display this date in the query on a report... Thanks...
  5. L

    referring to a particular cell in query..... basic =(

    Got an error of '2001' and "You canceled the previous operation" message... =(
  6. L

    referring to a particular cell in query..... basic =(

    Coming back to the basics, what if I just want pass on the date value from Column1 on to a report, how would I do that?
  7. L

    referring to a particular cell in query..... basic =(

    Thanks for the detailed explanation, I'm probably not quite familiar enough with access.... After multiple failed attempts, i'm posting the a screen shot of the query here. This is what i'm trying and still failed.... DLookup("[Column1]", "[Queries]![qry1]", "[Column0]=10") What would the...
  8. L

    referring to a particular cell in query..... basic =(

    Thanks for the link, what would I use as "Criteria = n" in this case? If I want the 1st row, 2nd column cell value? The query name is [qry1].. thank you Edit: Just saw the 2nd reply, I'll give it a try and post back. Thanks!!
  9. L

    referring to a particular cell in query..... basic =(

    Hi, I've got a basic question... On a report i'm building i want to refer to a particular cell in a query, Let's say the query name is qry1 and I want to refer to the 3rd column and 2nd row. What should the code look like? I'm also coding the same stuff in VBA, i found this 'Dlookup' function...
  10. L

    PV and Rate function?

    Gotcha, works just as I wanted!
  11. L

    PV and Rate function?

    Hi, does anyone know what is the Access version of excel function PV and Rate functions? In excel the PV function has the following syntax: PV( interest_rate, number_payments, payment, FV, Type ) and here's the syntax for Rate function: Rate( number_payments, payment, PV, FV, Type, Estimate )...
  12. L

    changing report property

    Thanks so much, here's the solution, the 1st line should be DoCmd.OpenReport rptName acViewDesign Then everything works! :D
  13. L

    changing report property

    Hello, I've asked this question in anther thread but here's it again since I'm still confused. What's the proper command to modify control source of textboxes in existing reports? I'm will be running a loop modifying these textbox control sources in existing reports so i will be assigning...
  14. L

    basic help needed for report creation

    Edit: problem solved, need to add docmd.close acreport..... So here's the new problem, how do I edit the property of a textbox in the report? Such that I need to edit the recordsource of the textbox in the report..... Here's another question, I've seen many places online where the code looks...
  15. L

    basic help needed for report creation

    That's a helpful link, thanks. :) Yes, basically replicating an existing report with different names. What is the proper vba commands in access for this to happen?
Back
Top Bottom