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 SkipVought 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: mikej336
  • Order by date
  1. mikej336

    Update Memo field with many records

    Kaht, I managed to get it running. I took about an hour and 2 minutes to process 31 k id's. That seems slower then what I expected but I apprecieate all the help. Here is what I wound up with.... declare @c varchar(25) declare @d varchar(2000) declare @e int declare cur cursor for select...
  2. mikej336

    Update Memo field with many records

    SQLSister, I agree but unfornuatly the data feeds an imaging system that uses a single field. Kaht I will take a look and see if I can get your example working today. Thanks Mike
  3. mikej336

    Update Memo field with many records

    There are 10 accounts with over 100 phonenumbers, the highest number being 317. There are 62549 total phonenumber records. Thanks again Mike
  4. mikej336

    Update Memo field with many records

    Hey Perly, I am getting... Msg 530, Level 16, State 1, Line 1 The statement terminated. The maximum recursion 100 has been exhausted before statement completion. Any ideas? Thanks Mike
  5. mikej336

    Update Memo field with many records

    SELECT actbrch,[SVCID] FROM [400_Metafile].[dbo].[yad_srvmast] where actbrch = '0000000001ACCT' actbrch SVCID --------------- ---------- 0000000001ACCT 1234635036 0000000001ACCT 1234635003 0000000001ACCT 1234632071 [SVCID] [nvarchar](10) COLLATE [ActBrch] [nvarchar](15) COLLATE...
  6. mikej336

    Update Memo field with many records

    Thanks guys, for your help I am learning alot. But I am still missing a few things. Let me restate my problem. I have an existing table A. It has a all phonenumbers associated with different customers by customer ID. One record per phone number. Customers may have any number of numbers...
  7. mikej336

    Update Memo field with many records

    Sorry, I did not specify. I need the all the records from the first table to be updated to the second table. Thanks Mike
  8. mikej336

    Update Memo field with many records

    I have a table, ID Phonenums --- --------- 123 1231231234 123 1231231234 123 1231231234 123 1231231234 123 1231231234 both text fields. I need to update anouther table with the above data but I need the Phonenums in a single memo field in a single record. (Preferably...
  9. mikej336

    varbatchfile - not working with Access 2003!

    I suspect that the file not found is the batch file. I would move the file temporarily to the M:\Install_SGAD.bat dirctory and change your shell command, just to see if it works. Mike
  10. mikej336

    Field name into an IIF expression

    Why don't you use a form to collect your year information. Then create a query definition then run the report based on that. Mike
  11. mikej336

    varbatchfile - not working with Access 2003!

    Put "Pause" at the end of the batch file and see what error message you are getting. Mike
  12. mikej336

    Optional Pages

    Also which application are you talking about? Mike
  13. mikej336

    Insert record from old table in two new tables

    oops... 4. Once it is correct, delete the old text genre field from the old table. Mike
  14. mikej336

    Insert record from old table in two new tables

    I have not used db2 but I can give you some general ideas. 1st. create a query to select distinct genres into a new table. Change the structure on the new table to add the auto generate primary key. 2nd change the structure on the movie table to add a field for your numerical genre (probably...
  15. mikej336

    Opening a query window USING VBA

    Here is the code to create a basic query definition. Use genomon's code from above to delete as necessary Mike Private Sub Command0_Click() Dim strSQL As String Dim dbs As Database Dim qdf As QueryDef strSQL = "Select * From YADPOS2_B1BILLL0" Set dbs = CurrentDb() Set qdf =...
  16. mikej336

    Opening a query window USING VBA

    You could also save it as a Query definiton. And rerun it anytime. Mike
  17. mikej336

    Opening a query window USING VBA

    I assume you are talking about Access. Public Sub DoSQL() Dim SQL As String SQL = "select * from tblBackup" DoCmd.RunSQL SQL End Sub Mike
  18. mikej336

    How do i correct the code to create a zip file

    Yes, Ron de bruin's example uses windows xp zip, not winzip. You are mixing 2 different things. If you are using xp, go back to Ron de bruin original example. Otherwise, if you have a lisensed copy of winzip you might want to look at the free command line add in. Mike
  19. mikej336

    Rnd in a query

    You might want to post some more code and let know what you are trying to accomplish. Mike

Part and Inventory Search

Back
Top