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 Jimmy211

  1. Jimmy211

    Using Variable in a Select or Update Statement

    Hi, This will probably seem like a newbie question to the pros around here, but its stumping me. How do you use a variable in place of a field or table name in Select and Update statements? In my example I want to create a Stored Procedure and pass a field name to it and have it run an update...
  2. Jimmy211

    Can no longer protect worksheets

    I've got the same problem with (surprise!) a workbook from the State of Utah dealing with air emmissions. Tech84, did you ever find a solution? Thanks
  3. Jimmy211

    Using a variable in a form name to set focus

    It worked! Thank you very much RoyVidr! Star for you! Jimmy211
  4. Jimmy211

    Using a variable in a form name to set focus

    Hi, I'm wondering if its possible to use a variable when setting the focus to a particular form and field. I have a table with the name of the forms and fields. Based on the current form that's open and what other forms are open, I want the code to lookup in the table which form and field it...
  5. Jimmy211

    Passing a parameter to a stored procedure

    Dwight1, The 1 is the same thing as saying adParamInput and the 4 is the same as saying the type of variable, adSingle in this case. Take a look at the following link. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdcstdatatypeenum.asp Jimmy211
  6. Jimmy211

    Passing a parameter to a stored procedure

    dwight1, You probably have it figured out by now but I was wondering about this line where you assign the parameter: Set prm1 = cmd1.CreateParameter(idofcust, adint, adParamInput, 4, Me.Combo8) Is it necessary to set the size of the parameter=4? Parameters I've gotten to work do fine if that...
  7. Jimmy211

    Passing a parameter to a stored procedure

    For anyone who's curious I figured out the answer to this. It turned out to be a dumb mistake. I forgot to append the second to the last prm1 parameter to the proc, the one called LbogId1. The 'cmd1.Parameters.Append prm1' line is missing. Thanks for your help anyway Mr Denny. Jimmy211
  8. Jimmy211

    Passing a parameter to a stored procedure

    mrdenny, Thanks for responding so fast. In my Access code I do add all the parameters in order. Heres the full access code I'm using: Dim cnn As ADODB.Connection Set cnn = CurrentProject.Connection Dim cmd1 As ADODB.Command Set cmd1 = CreateObject("ADODB.Command")...
  9. Jimmy211

    Passing a parameter to a stored procedure

    Hi, I'm having difficulty passing a varchar parameter to a stored procedure in Access. Using VB, I pass the values of a record to a stored procedure in MS SQL Server 2k, which then adds or updates the record in the database. I can get date and integer values to pass to the recordset, but not...
  10. Jimmy211

    Peachtree 2003 Check Date Default

    Hi. We are using Peachtree 2003 over a network. I recently upgraded the server to Windows 2003 Server. After doing so some of my users have noticed that when printing multiple checks in Peachtree, the check form no longer remembers the date between checks. That is the check date field...
  11. Jimmy211

    Windows XP Navigation Problem

    Never mind. I had a network share mapped on the pc to a server that was no longer there. It was taking a long time to try and find it but couldn't. I deleted the link and now the open dialog box works fine. Thanks. Jimmy211
  12. Jimmy211

    Windows XP Navigation Problem

    When I use any MS Office program and open the navigation window to open a file, the 'Open' dialog box comes up but doesn't allow me to use the 'Look In' drop down box to search for a directory. The box freezes up the program which then crashes. I tried repairing XP Office, but I suspect the...
  13. Jimmy211

    Windows 2000 startup script

    I have a workstation on my network that keeps running some strange startup command I want to track down. When any user logs on, some script runs that opens a folder window that points to c:\documents. If that folder is deleted then an error message comes up. I've looked in the 'All...
  14. Jimmy211

    MySql Agent

    Does anyone know if MySql has some sort of agent program similar to MS SQL? Meaning a program that can be set to run code at automatic intervals? Thanks Jimmy211
  15. Jimmy211

    DB2 Version 6.1 and Windows 2003 Server

    I'm trying to install the DB2 run-time client tools for DB2 version 6.1 on my new windows 2003 server so as to access a DB2 installation on a NT box. The installation seems to work fine, but when I start the Client Configuration Assistant, it gives me error SQL5001N and tells me the logon for...

Part and Inventory Search

Back
Top