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 bkrike 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: LeonAtRC
  • Content: Threads
  • Order by date
  1. LeonAtRC

    Import Forms from SQL Server

    I have some Access forms in text format that were exported using "SaveAsText". I want to put these into a sql table using a varchar(max) data field. How do I load each text file, which has up to 1000 line of code, into a single record using the VARCHAR(MAX) field? Can the text in the sql...
  2. LeonAtRC

    FTP out of 2008

    I'm trying to do a simple FTP out of a Windows 2008 cloud server to a 2003 server. The file is created on the 2003 machine but it is empty. Error message states that it cannot establish a data connection. I am logged in as administrator. The same commands work well from any other machine...
  3. LeonAtRC

    Problem Importing data with imbedded single quotes.

    Here is the actual code I'm running to copy data from one set of tables to another. The table structures are identical. SET @runCmd = 'INSERT INTO dbo.' + @dbTable + ' (' + @fldList + ') SELECT ' + @fldList + ' FROM dbo.' + @tmpTable EXECUTE (@runCmd) @dbTable is the new table @fldList is the...
  4. LeonAtRC

    Bandwidth Throttling

    Not sure if this is the right forum. Please advise me if not. Using LogMeIn I often transfer large files (500 MB to 5 Gb) to and from two of the servers in our rack over the internet to my machine at home. Server a typically transfers at about 300 KB/s Server b typically transfers as about...
  5. LeonAtRC

    Import/Export data by type

    I'm trying to export data from a table into a text file using Scripting.FileSystemObject in a VB module I don't want to copy fields that are Identity field or Computed fields. rs.open "SELECT * FROM SomeTable"... buf = "" FOR EACH fld IN rs.fields IF fld.type <> COMPUTED THEN IF...
  6. LeonAtRC

    &quot;field cannot be bound&quot;

    Tbl_A fName fSex aKey Tbl_B fHome fSex bKey These two tables are inner joined on the aKey and bKey in a view (theVue) that outputs these fields: Tbl_A.fName, Tbl_A.Sex, Tbl_B.fHome (The keys and tbl_B.Sex are not included in the view.) The query is: SELECT * FROM theVue...
  7. LeonAtRC

    Finding Other Computers

    How do I go about finding other computers on my local area newtork? I can use FileSystemObject to search for drives, folders and files but It doesn't allow me to look beyond my own machine. Is there another method or catalog that I can use? (I need to do this programatically.) Thanks.
  8. LeonAtRC

    Copying text files to a remotes sql server

    Not sure if this is the right forum but I'm programming in Access ADP. My program can use SQL Servers that are either on the local machine, on a server on the local network or a remote machine through an IP address. I need to copy files from the applications machine to the sql server machine. If...
  9. LeonAtRC

    Exporting User Defined Tool Bars

    I have two tool bars containing 32 items. Some are drop down menus with numerous items and sub menus 2 and 3 deep. I would like to transfer these to another adp file but nothng I've read about exporting user defind tool bars appears to be what I need. I would prefeer to export as text files and...
  10. LeonAtRC

    Identifying an Identity field

    I'm importing text files that were exported from Access. Some included the identity field and some did not. So I need to know which files have identity fields in them. (The text files do not have all the fields that are in the SQL tables.) Dim cnn as new adodb.connection Dim rs as new...
  11. LeonAtRC

    local variable dissapears

    When I run this code in Management Studio: DECLARE @tbl TABLE ( PID int, Chip varchar(7) ) INSERT INTO @tbl SELECT Pid,Chip FROM Runners WHERE LiveUpdated = 0 DECLARE @LocalSvr varchar(25) SET @LocalSvr = 'SQLSERVER.LocalLive.dbo.LiveRunners' DELETE FROM @LocalSvr WHERE PID IN (SELECT...
  12. LeonAtRC

    Linking Servers 2000 / 2005

    I've searched everything I can find but without a solution. I have 2 SQL servers: one with SQL 2000 and one with SQL 2005. Both on the same LAN. The 2000 machine is runnjing Windows server 2000 and the 2005 machine is running Vista pro (64-bit) The 2 servers are linked to each other and both...
  13. LeonAtRC

    MS Access 2003 to Cold Fusion

    I've spent the last 7 years building a MS Access project using MS SQL Server 2000 back end. The program code is over 75 Mb with Lots and Lots of forms, reports and modules. Now I'm being asked to convert the entire thing over to ColdFusion using the same sql database. (They want to make it into...
  14. LeonAtRC

    Triggers and set statements

    When doing an update to several records at one time the following trigger will fire on only 1 record. Consequently I have to use a cursor to update each individual record separately. ALTER TRIGGER Repl_Starts_Trigger1 ON dbo.Repl_Starts FOR UPDATE AS DECLARE @Pd integer DECLARE @Tm_G...
  15. LeonAtRC

    Can't write to Vista folder

    An Access program on my XP machine needs to be able write files to a folder on my Vista machine but I keep getting "access denied". I just spent the last 2 hours turning off ALL the security on the Vista machine that I could find. Still no luck and now my vista machine is open to everyone. I'm a...
  16. LeonAtRC

    Remote management of SQL 2005

    I've got SQL 2005 Standard Edition (64 bit) on a Vista 64 bit machine. I want to manage it from my XP machine. I tried to install the 2005 tools on the XP machine but I'm blocked by the 64 bit SQL CD. Is there a downloadable version of SQL Server Management Studio that will run on my XP machine...
  17. LeonAtRC

    One Way Traffic Only

    SQL Server 2000 is installed on 2 machines on the same LAN. One is running W2k Server and the other is running XP Pro. The following query will run on the XP machine but not on the W2K machine. SELECT PE_ID FROM OtherServer.database.dbo.PeopleTable Turning off my XP firewall doesn't help. I...
  18. LeonAtRC

    Sanpshot Agent won't start

    I created a publication and then a subscriber. The replication works fine. Then I generated a script to initialize the publisher/subscriber programatically. The publisher and subscriber are created properly but the snapshot agent won't start. Is there another command I can but into the script...
  19. LeonAtRC

    Replication Not Initializing

    When I create replication in Enterprise Manager and select the snapshot agent to initialize immediatly it works fine. But when I run a script created from the replication it will not start unless I go into EM and reinitialize the snapsot agent. How can I get it to initialize immediatly from...
  20. LeonAtRC

    &quot;more than the maximum number of prefixes&quot;

    I'm trying to update records in a table on a remote server but I keep getting an error about too many prefixed in the WHERE clause. UPDATE RemSVR.RemDB.dbo.People SET OfficeID = Corporate.OfficeNMBR FROM Corporate WHERE RemSVR.RemDB.dbo.People.OfficeFloor = Corporate.OfficeFloor Can...

Part and Inventory Search

Back
Top