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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by BanditWk

  1. BanditWk

    Just Curious...

    Depending on the type of form, in all actuality. If it's a DataEntry form, there is no need for any underlying queries, only direct access to the Table. If it's a View/Modify type of form and you're wanting to look at specific record(s), you can have the form linked to the table, but have a...
  2. BanditWk

    Traversing Through Database Objects

    I have a database that I want to traverse through the objects and delete specific ones (there's a reason why I want to go through each and every one). For example, I have 350 Reports and I want to start at the beginning of the reports, read name, delete if needed, then go to the next report...
  3. BanditWk

    Form Question

    I would create the BegDateTime and EndDateTime fields formatted in the raw table as: Date/Time General Date This includes date AND time, provided that your Regional Settings are formatted as such. HTH Roy McCafferty aka BanditWk Las Vegas, NV roy@cccamerica.org...
  4. BanditWk

    Can't find "tblCustomers" as mde, works fine as mdb

    Did you check your Security tab of the MDE file's Properties to make sure the flag is checked to "Allow inheritable permissions from parent to propagate to this object"? That's always been my issue when I'm working with front-end / back-end databases. HTH Roy McCafferty aka BanditWk...
  5. BanditWk

    Recordset Problem

    Hi Chris. Well, ok, let's try this. Seeings how you had checked the DoCmd line to see if it's opening the form appropriately, my last and final suggestion would be to check your Form!OnCurrent Form!OnOpen Form!OnLoad Form!Activate (hardly used) Form!GotFocus (rarely used) and...
  6. BanditWk

    Add New Record If Doesn't Exist

    On the AfterUpdate of the Phone field: Dim Dbs as Database 'if not already dimensioned Dim Rst as Recordset 'if not already dimensioned Set Dbs = CurrentDb 'if not already set Set Rst = Dbs.OpenRecordset("NameOfCallTable",dbOpenDynaset) Rst.FindFirst "[SearchFieldName] =...
  7. BanditWk

    Recordset Problem

    Check to see if the following flags are set in the Form Properties under the Data tab: Filter: <blank> Order By: <blank> <...for the previous two, I figure you're basing your form off of a Query in Record Source...> Allow Filters: Yes Allow Edits: Yes Allow Deletions: Yes...
  8. BanditWk

    User Defined Type Not Defined

    I have this front-end database located on a network with links to back-end tables and have used Recordset coding such as: Dim Dbs as Database Dim Rst as Recordset Just recently, I've been receiving the error &quot;User Defined Type Not Defined&quot;. For my Autofill, it recognizes...
  9. BanditWk

    Counting in a Report

    What I've done with this (because we ALL just LOVE those Managers and Executives that want to make our lives a living hell) is that I would create a Text Field for each value they're wanting to get a total for and put the following code in it: For the Pending Total Box...
  10. BanditWk

    select top 4 records for each cusip in a table

    View the query in Design View. On the bar, there will be a drop-down that should have &quot;All&quot; in it. You can change this to any number you want to determine how many values you want the query to show. HTH Roy McCafferty aka BanditWk Las Vegas, NV roy@cccamerica.org...
  11. BanditWk

    How can you use one text box to enter into two fields?

    On the form, have the text box's Control Source reference to Project Cost (for this explanation, the name of this Text Box will be &quot;Project Cost Create another text box with the Control Source to Committed, but make the Visible = No. For this explanation, the name of this Text Box will be...
  12. BanditWk

    refresh unbound form

    The &quot;Requery&quot; command works pretty nice. Also, I believe there's a &quot;Refresh&quot; command. HTH Roy McCafferty aka BanditWk Las Vegas, NV roy@cccamerica.org RLMBandit@aol.com (private) &quot;No need to send gifts, just send a smile.&quot;
  13. BanditWk

    Recordset problem

    I got this from Help in Access 2000: &quot; You may encounter this message if a parameter query exported to the IDC file type doesn't have data types specified in the Query Parameters dialog box. To solve the problem, do the following: In the Database window, click Queries under Objects...
  14. BanditWk

    Sql String problem

    Do you need the full size of the field? If not, parse out the field. If so, assign the field to a Variable and use the Variable name inside the SQL. HTH Roy McCafferty aka BanditWk Las Vegas, NV roy@cccamerica.org RLMBandit@aol.com (private) &quot;No need to send gifts, just...
  15. BanditWk

    ADO Command Object calling stored procedure

    Hi Jen... Well, I'm not sure where the issue may lie, but you don't have any Error Trapping in your code that will help you alleviate the guess work. Try this: 100 On Error GoTo PROC_ERR Dim EventRef As Integer Dim conn As ADODB.Connection Dim rs As ADODB.Recordset Dim...

Part and Inventory Search

Back
Top