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 Wanet Telecoms Ltd 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: nancier
  • Order by date
  1. nancier

    Combo Box Question

    I have a combo box that is set up so I choose from a table field list. Is there any way to have another value or a default value that isn't on the list? Thanks
  2. nancier

    Combining two functions

    Thanks to both of you, terrific job!!!!!!
  3. nancier

    Combining two functions

    These two functions have alot of repeated code. Anyone know if I could combine these somehow? Thanks Option Compare Database Option Explicit Dim MyModule As Module Function Command5_Click() Dim StartLine As Long, StartColumn As Long Dim EndLine As Long, EndColumn As Long Dim...
  4. nancier

    External Name not Defined

    Thanks, worked great.
  5. nancier

    External Name not Defined

    Hi, I have a text box on a form called Text2. I'm trying to get the module below to find the form on this line but am getting an error "External Name not defined" on this line. How do I fix this? Thanks strNewText = "tblAmount.[" & Text2 & "]" Public Function Command5_Click() Dim...
  6. nancier

    Text Box to Code

    Hi, Now that you got it working for the Num-1 text box, I'd like to be able to have 5 text boxes, Num-1 through Num-5 that I could fill in. Then when I hit enter, it would change the Module Code in 5 places. Would you know how to set it up so it could search and replace 5 items instead of just...
  7. nancier

    Text Box to Code

    Worked Great!!! Thanks a Million
  8. nancier

    Text Box to Code

    I want to be able to type a word like "FREIGHT" in a text box on a form and have the word "FREIGHT" be automatically entered in the form code after tblAmount. Anyone know how to do this? Thanks Form Event Procedure Code strNewText = "tblAmount.[FREIGHT]
  9. nancier

    Info from different sources-Suggestions needed

    Sorry for the confusion. I am trying to create a table to be exported based on the Data file and the other information I have. But it has to be in the exact export data layout that I specified in the first post. And you are right that the names being different in the Input and Output is a...
  10. nancier

    Info from different sources-Suggestions needed

    Hello, I'm looking for a better approach to this problem and would welcome any guidance. I work with different data each week, the data contains mostly similar fields though the field names are always different, ie. Invoice-Date versus Inv-Date. Some data includes a Freight column while other...
  11. nancier

    Change Str-SQL in module from form

    I thought this would be easy but it's not. I want to change part of the code of a string in a module. I need to do this by clicking a command button on a form. I need to make this change. "tblStupload.[NUM-1]" Change to this "tblAmount.[NUM-1]" Here is the code also for the form's event...
  12. nancier

    Change Str-SQL in module from form

    Hi, That would be fine having the toggle switch. Do you know how to do it? Thanks
  13. nancier

    Change Str-SQL in module from form

    Hi, I'm trying to change the Str-SQL in a module by clicking a button on a form. I need to make this change when the form buttom is clicked. tblStupload.[NUM-1] change to tblAmount.[NUM-1] I'm trying this code but it's not working. Any idea what's wrong? Thanks Option Compare Database...
  14. nancier

    Need Positive, Negative and Absolute Value Sum Totals

    I have a table with 10,000 various negative and positive Amounts. I am trying to do a query where I get 1 positive Total, 1 Negative total and 1 Absolute Value Total. It seems I can only get one at a time to work. If I use a union query, I can't get it to work because I can't seem to use the Amt...
  15. nancier

    Need adjustments to Module and Advice

    Thanks, I changed it to this. Not sure if it works but now need to know how to go about getting the results into a table or query. Anyone know how? Thanks Option Compare Database Function GetRandomBetween(ByVal lngMin As Long, ByVal lngMax As Long) As Long On Error GoTo ErrHandler...
  16. nancier

    Opening 2 Recordsets

    Hi, I reversed the rs and rs2 and it still find the sample sizes but not the seeds. It must be the punctuation. Anyone have any idea what the problem is? Thanks
  17. nancier

    Opening 2 Recordsets

    Hi, the seed numbers aren't coming into the Str-SQL query like the sample sizes. It give an error message, Too few parameters, Expected 1. It highlights this line: CurrentDb.Execute "TestingRandom Query". I'm not sure if the punctuation is wrong on & " ORDER BY GetRan (lngSeedNumber,[id]))" or...
  18. nancier

    Need adjustments to Module and Advice

    The code below generates a seed value and 3 random numbers that appear in the immediate window when the code is run. Instead of having the number 3 hard coded, I'd like to have a form where I could select the number random numbers I'd like to choose and then create a table or query which would...
  19. nancier

    Opening 2 Recordsets

    Hi, One query holds the sample sizes and the other query holds the seed for the corresponding sample size. They will each have the same number of rows. Thanks

Part and Inventory Search

Back
Top