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 Chriss Miller 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: *

  • Users: DahMurf
  • Content: Threads
  • Order by date
  1. DahMurf

    Problem putting Query SQL into Form VB

    I have this in a query and it results in almost 4,000 records from Table1 SELECT * FROM Table1 LEFT JOIN Table2 ON Table1.RunIndex = Table2.RunIndex WHERE (((Right([Table1.RunIndex],6))="070108") AND ((Table2.RunIndex) is null)); I then tried to put this SQL into the VB behind my form...
  2. DahMurf

    PageSetup problem in Macro

    I have a spreadsheet (Format Reports.xls) that when it opens kicks off a macro. The macro then opens a different spreadsheet file, does formatting, closes the file, moves on to open other files to do the same type of formatting. This is an excerpt of my macro code in "ThisWorkbook" of file...
  3. DahMurf

    Combobox refresh for each new record ?

    I have a form with fields and a combobox based on two tables. The fields I'm working with from tbl_impound that are displayed on form frm_impound: Vehicle Date Time Class I also have a table tbl_class_op with fields Vehicle Date Time Class On form frm_impound I have a combo box for the...
  4. DahMurf

    VB Code link tables on "home" network question...

    I have a database that will be running on a private "home" network. The backend will be on the C shared drive of the primary computer. (The primary computer is serving as the network drive) The primary computer as well as two secondary computers will run the frontend. The frontends will...
  5. DahMurf

    VB Code to link backend tables to frontend?

    I want to link my frontend to my backend tables using VB. I want to do this when I open the database and then drop the link when I close the database. I am only using Access 2000 for both the frontend & backend. I've seen a lot of posts saying you should do this & I've seen several with...
  6. DahMurf

    combobox limiting combobox, requery not working

    I have a Main Form which has a subform within it. They both open visible. I have a combobox named type on the main form. I have a combobox named class on the subform that through a query uses the type combobox selection to limit what is displayed in the class combobox. When the type value is...
  7. DahMurf

    Validation issues? (BeforeUpdate, LostFocus, SetFocus)

    (posted in forms also but only got one response) Here's my scenario: User opens form. First field is Vehicle. They MUST key a vehicle number before doing anything else. I have code in the BeforeUpdate of the Vehicle field. It works fine. The user cannot leave The field without entering a valid...
  8. DahMurf

    Cant set enabled / locked ?

    (posted on Forms section also) In a form's onOpen I was setting several fields to enabled = false. I could set most of the fields but a few of them couldn't be set. When typing them in, the autoformat drop down would only show "value" where the others would allow many controls like locked &...
  9. DahMurf

    Can't set locked / enabled ?

    In a form's onOpen I was setting several fields to enabled = false. I could set most of the fields but a few of them couldn't be set. When typing them in, the autoformat drop down would only show "value" where the others would allow many controls like locked & enabled. When I try to run it...
  10. DahMurf

    Validation issues

    Here's my scenario: User opens form. First field is Vehicle. They MUST key a vehicle number before doing anything else. I have code in the BeforeUpdate of the Vehicle field. It works fine. The user cannot leave The field without entering a valid value. I have the same code in the LostFocus of...
  11. DahMurf

    How to make code, fields public??

    Let me start by saying I'm really lost! I know I don't have the terminology down right so I'm just going to state what I want to do & hope that someone can lead me along in a simple way with a simple example. I have a few different questions. I’ve made some complex code work but I haven’t done...
  12. DahMurf

    VB to create/fill list box from query

    Would someone be so kind as to give me some generic VB code I can use to fill a list box? Thanks in advance! :D
  13. DahMurf

    Look at each individual digit of a numeric field?

    I have a 6 digit number (ie: 123456) I’d like to be able to look at one digit at a time. For example isolate the first digit of (ie: 1) then take an action. Then move to the next digit & take action. I’m thinking this can be done in an array but I can’t quite put it together in my mind. Can...
  14. DahMurf

    Syntax for Record not found on Select

    I've set up a Select statement to grab a specific record. I need to test if the record is not found. Can someone give me the syntax, I can't seem to find it. Thanks!
  15. DahMurf

    format number without rounding?

    I'm using the following to change the format of a numeric field: formatspeed = Format(cr.Speed, "###.000") The data, for example, is 123.4567. I'd like to end up with 123.456. I want to drop anything beyond the 3rd decimal but I do not want to round. How can I do this without...
  16. DahMurf

    Apend Query with Yes/No field ?

    I tried to run an Apend Query in which one of the fields is a Yes/No datatype. The yes values are not carried from one table to the other. Any ideas how to make this work in a query? I can probably whip up some VBA code but an apend should be simple enough. Tia for any help.

Part and Inventory Search

Back
Top