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 strongm 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: *

  1. Liberty

    Output File

    Good question? Are you doing this from an application development perspective or running it from query analyzer. If it is from query analyzer you can just save the results of your query as a csv or txt file when you run the query (click in the results pane and click File, Save). From an...
  2. Liberty

    Expanding/Collapsing All Nodes in Treeview

    The treeview has an event that can take care of all this. Expand/Collapse. And you can check the siblings/children of each node.
  3. Liberty

    too many fields defined

    Is there any way you can put the data from dbase to a txt file and then import it to sql server. It works fine with txt files.
  4. Liberty

    Transferring Database

    You can transfer your database to another server using 1 of two ways 1) SQL scripts - and create the database on the user server 2) Use sp_detach_db stored procedure to detach your database from your server and use sp_attach_db stored procedure to attach it to the user server.
  5. Liberty

    Better Way

    Have you consider using a cursor?
  6. Liberty

    Returning Proper Error Value

    Change this line: set @error_result = EXEC @myproc1 to: exec @error_result = @myproc1 then do a select on the @error_result: select ' error code ',@error_result This will do the trick.
  7. Liberty

    User login lost when DB restored

    Why not, when you do your back, create a sql script (once) and every time you restore run the sql script? It should work fine.
  8. Liberty

    Data Reports

    You can do it two ways. 1) Create a command object in ado, create the parameters for the command object, get the resultset (with a recordset) and bind the recordset to the data report. First create the report with the specific fields in the report textbox object and type in the field names in...
  9. Liberty

    Progress Bar

    ie. PGB.Max = rst.RecordCount do until rst.eof 'Code to do something pgb.value = pgb.value + 1 .movenext Loop
  10. Liberty

    Internet Transfer Control. Help ASAP.

    1. First, check to see if your server/computer/whatever has the component registered. 2. If it is register, check the progid.classid names. Tellek,
  11. Liberty

    How to return value from activeX Control into field table

    I assume the activeX control you're talking about is the datatimepicker. If so you can get the date value by using VALUE. Form1.DataTimePicker1.Value will give you the value of that ocx control. Or try using the month, year, day, dayofweek, hour, minute and seconds properties to help you out. I...
  12. Liberty

    Using a count of records in stored procedure

    Try this: SELECT @iFound = Count(ID) FROM t_Articles WHERE Title = @Title AND ID <> @ID This is much easier...
  13. Liberty

    Generating PK for MTS objects

    Have you considered using a hierachical recordset. It takes care of your problem more efficiently. You can get the recordset from the server as a connectionless recordset; update the records on the fly and when done you can send the recordset to the server and commit changes using updatebatch...
  14. Liberty

    How do I copy/move/delete files in a Windows/DOS Perl script??

    To copy and move files use the File::Copy module that has the copy and move modules.<br>i.e.<br><br>use File::Copy;<br>copy(&quot;file.txt&quot;,&quot;file2.txt&quot;);<br>move(&quot;file2.txt&quot;,&quot;..&quot;);<br><br>To delete a file use unlink function.<br>i.e.<br>print 'Deleted '...
  15. Liberty

    MSAccess97:import multiple excel wrksheets using VBA code?

    What if you use a loop to go through the user inputs. Or with the TransferSpreadSheet method specify a wildcard expression to get all the files.
  16. Liberty

    Activating a splash screen form

    jimmyclams<br> <br> Another way of doing this is to create a Sub Main procedure in a general module attached to your project. In it you may show the splash screen (FromName.Show) and while it is being displayed you can do other operations like opening a database or something you would like to do...

Part and Inventory Search

Back
Top