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 strongm 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: *

  1. Dmcniell

    Question about ...Execute "Select...

    Thanks for that tip, but it doesn't work. When the 'into' variable is in the SQL statement, it doesn't populate a declared variable inthe sub. Any other suggestions? Thanks!
  2. Dmcniell

    Question about ...Execute "Select...

    I want to use the following SQL to find the maximum id in a table. This works fine, but how do I reference the resultset in my code? I want to be able to use max(uid) in other statements, but I don't know how to get to it... CurrentProject.Connection.Execute "Select max(uid) from [Donor]"...
  3. Dmcniell

    ADO Update Delay

    Hello and thanks for your help. This is a question involving access and ADO. I have a nagging problem with what seems to be a delay between the instant I add a record with ADO and the ability to refresh the informatin into another form. I'll try to describe the steps. From customer_form I...
  4. Dmcniell

    Passing comments to a report

    Hello and thanks for the help! I am running a report from a form with the simple command: DoCmd.OpenReport stDocName, acViewPreview, , stLinkCriteria There's no problem there. But here's one thing I haven't been able to figure out how to do: I want to pass a comment or a string from the...
  5. Dmcniell

    Equivalent of Truncate

    I need to regularly delete all rows in a temporary table and rather than use a loop to delete all records is there an Access equivalent to the SQL Server "truncate" command? I've thought about deleting the object and recreating, but I'm hoping there's a command to clear the contents of table...
  6. Dmcniell

    Aborting an update

    Hello and thanks in advance for your help. I'm trying to do some data validation in the BefureUpdate event of a form, and when I encounter an error, I want to abort the update, show a message box, and return the user to the form. How do I abort the update within that event?
  7. Dmcniell

    Form.BeforeInsert & BeforeUpdate confusion

    Perfect - just tried it. Thank you!
  8. Dmcniell

    Form.BeforeInsert & BeforeUpdate confusion

    I've noticed some unusual things in Access 2002 regarding when Form.BeforeInsert fires off and when Form.BeforeUpdate fires off. I'm trying to do an action immediately before the physical insertion into the access database. While in insert mode, what is happening is... The BEFOREINSERT for...

Part and Inventory Search

Back
Top