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. ClifCamp

    Syntax error in SQL statement?

    I recently made some unrelated changes to my db and some code I had to update counts in a table worked perfectly but now doesn't work. Err.description tells me it's a syntax error and it occurs right after the SQL for counting distinct employee IDs. I have tried everything I know to figure out...
  2. ClifCamp

    Reset a module/database

    I have a db which does most of its work in VBA. On a button click, it imports a table, modifies it, and then users can run queries to see different data. Everything works perfectly until the user tries to click the button again to do a second import. Then it works erratically or not at all...
  3. ClifCamp

    MS Access VBA and Cognos 8.4 automation

    We recently migrated from Impromptu 6.0 to Cognos 8.4, using Report Studio and Query Studio. Under Impromptu, I was able to automate many MS Access tools using VBA to call Impromptu, run imrs and import tables into the Access tool. Now that we are web-based, I have lost all my automation. Is...
  4. ClifCamp

    Convert list data to table

    Employee ID Job Title Effective Date ------------------------------------------ 12345 Mgr III 2/15/2006 12345 Mgr II 3/1/2005 12345 Engineer III 2/28/2004 22741 Admin III 2/7/2006 22741...
  5. ClifCamp

    creating crosstab or table from list data

    My data looks like this: John Doe is currently a Mgr IV Name Job Title Effective Date ------------------------------------------ John Doe Mgr III 2/15/2006 John Doe Mgr II 3/1/2005 John Doe Mgr I 2/28/2004 I want to have one row in a...
  6. ClifCamp

    Pass date prompt to Impromptu from MS Access VBA

    I have been calling Impromptu 6.0 from MS Access, running reports and importing the results into Access with no problem. I now have a situation where I need to pass two dates from an Access form as prompts for an Impromptu report. I have tried everything I've been able to find in this forum...
  7. ClifCamp

    forcing users to save on exit

    I have an application which requires users to submit data they fill in on a form. The form is linked to a SQL database. Some users think it is enough to fill out the form and exit the page/browser without clicking the Submit button. The result is that some user data gets lost because they...
  8. ClifCamp

    Force users to click the Submit button

    I have an application which requires users to submit data they fill in on a form. The form is linked to a SQL database. Some users think it is enough to fill out the form and exit the page/browser without clicking the Submit button. The result is that some user data gets lost because they...
  9. ClifCamp

    Desperate! Null query results in aggregate query

    I have an aggregate query which brings together results from six separate queries.The six sub-queries are based on a table which changes every month. They calculate a % based on categories. The categories may come and go throughout the year, with the result being that one or more of the...
  10. ClifCamp

    Handling Nulls in Aggregate Query

    I have an aggregate query which pulls together calculation results from 4 different queries (each query provides a percentage). These four queries run off a table which changes monthly. Because of the nature of the data, one or more of the four queries may come up null in a particular month...
  11. ClifCamp

    Importing Excel 3.0 spreadsheets

    I am automating a process in an Access 2000 db. I have some code which runs a Oracle server front end (Cognos Impromptu), runs five queries, and exports them as Excel spreadsheets. The problem is that Impromptu will only export as Excel 3.0 sheets. The code then imports them into Access...
  12. ClifCamp

    Using SQL to autofill a subform on AfterUpdate

    I am trying to autofill a subform with interviewer info from a table based on who logged in. Interviewers fill in the form with the results of their interviews.The code below works but only two fields are appearing initially(FName, LName). This seems strange that only two would appear.(The...
  13. ClifCamp

    Subreport not showing all contents of field

    I have a subreport which contains several fields all of which are set as 'memo' in the table and all contain between 5 and 10 lines of text. When viewing the report containing my subreport, the subreport cuts off the data and only shows 2 or 3 lines of the text contained in the field/table...
  14. ClifCamp

    Prevent linking to another database

    Does anyone know of a way to prevent someone from linking to a database and gaining access to its tables? Neither db has any security set up. I just want to prevent the linking.
  15. ClifCamp

    Run-time error 2501: The OpenReport action was cancelled

    Here is the code I have in the Nodata event of my report: MsgBox "No data matched your criteria" Cancel = True There is no error handling in it now because I have tried every error trapping procedure I could find and nothing stops the VBA msgbox from popping up with the 'End' and...
  16. ClifCamp

    Passing multiple values of same field from list box to query

    I have a query that pulls demographic information about various locations of our company around the country. I want the user to be able to select multiple locations from a list/combo box and the After Update event will pass those values to the query in order to provide a "combined&quot...
  17. ClifCamp

    Pass multiple values of same field from list box to query

    I have a query that pulls demographic information about various locations of our company around the country. I want the user to be able to select multiple locations from a list/combo box and the After Update event will pass those values to the query in order to provide a "combined&quot...
  18. ClifCamp

    Can't trap runtime errors in Access 2000

    Based on some other threads I read, I tried the following code to trap error 2501, OpenReport Event Cancelled. This is from the NoData event of my report. It also resets the form controls to Null. No matter what code I try, the runtime error msgbox appears with the 'End' and 'Debug' buttons...
  19. ClifCamp

    Can't open database

    I tried to open a much-used database this morning and received the following message after entering the db password: "The database (full path) needs to be repaired or isn't a database file. You or another user may have unexpectedly quit MS Access while a MS Access database was open. Do...
  20. ClifCamp

    Set rstXXXX = OpenRecordset..etc code not working -HELP!

    Can anyone tell me why the code hangs at the "set rstAdmin = OpenRecordset, etc. line with a Type Mismatch error? I have looked at examples and can't find the problem. Here is the code: Private Sub Command2_Click() Dim db As Database Dim rstAdmin As Recordset Dim PSID As...

Part and Inventory Search

Back
Top