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 Mike Lewis 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: TomLeMes
  • Order by date
  1. TomLeMes

    A BOF()/EOF() command that ignores deleted records?

    Thanks Olaf, spot on! Tom
  2. TomLeMes

    A BOF()/EOF() command that ignores deleted records?

    Hi Ilyad, thanks for the reply. I'm using VFP 9. I want the Prev/First buttons to be disabled when the user moves to the first record (as a visual indicator that they are now on the first record and can't go any further in that direction). But unless I'm missing something, it seems that BOF...
  3. TomLeMes

    A BOF()/EOF() command that ignores deleted records?

    Sorry everyone, I must be half asleep or something. My code is actually checking the RECNO(). e.g. IF RECNO() = 1 THEN *disable First, Prev buttons ENDIF IF RECNO() = RECCOUNT() THEN *disable Next, Last buttons ENDIF
  4. TomLeMes

    A BOF()/EOF() command that ignores deleted records?

    I am working with local cursors created from a SQL Server using the SQLEXEC command. Some records are not required and these are deleted. I have SET DELETED ON so that the deleted records do not show up. I have record mover buttons (First|Prev|Next|Last) to allow users to navigate between the...
  5. TomLeMes

    SQLExec without waiting for reply?

    Cool, thanks for that Baltman - I had a feeling it might be the asynchronous setting but was struggling to get a proper understanding of how it worked. Again, sorry if people feel that I'm wasting their time here - I just want to get clarification on how the asynchronous calls work. The help...
  6. TomLeMes

    SQLExec without waiting for reply?

    Hi everyone, sorry if this is a dense question, but I want to run a SQLExec command without having to wait for a reply - is there a way? The idea is that the SQLExec command would be deleting quite a large number of records which might take a minute or so - I don't want the user to have to wait...
  7. TomLeMes

    Ways to deal with variable network performance

    I have a VFP application that uses SQL pass-through (SQLEXEC) to connect to a SQL Server backend. Apologies for the following as my lack of proper knowledge of network stuff will make my descriptions a bit wishy-washy. Most of my users are local (London) and the SQL server they are connecting to...
  8. TomLeMes

    Script to generate database maintenance script?

    Thanks SQLSister, I actually have Red Gate's SQL Compare and definately agree it's really handy. But my understanding of it is that you need to first use it to compare two specific databases, then use the synchronize script to update one database to have the same structures as the other. I'm...
  9. TomLeMes

    Script to generate database maintenance script?

    Hi John, Thanks for your suggestion. The issue that I'm dealing with here is that the database structures of the live system are usually (and intentionally) different from the dev system. In my dev environment I may have some new fields, say for a new feature that I've recently added and have...
  10. TomLeMes

    Script to generate database maintenance script?

    Hi, I would like to create a script that I can run against any database (call it the *source* database). What it would do is look through all tables and Stored procedures and generate a new script (let's call it DBMaint) that would re-create the *source* database completely. However, I'd like to...
  11. TomLeMes

    Are there any decent alternatives to VSS?

    Hi Tobsen69, Thanks for the that. I did a bit of a web-trawl when looking into this and also came across CVS (plus an offshoot called Subversion). The other biggies seem to be Rational ClearCase and SourceGear Vault. I think we're going to plump for Vault, it sounding like the easiest option...
  12. TomLeMes

    Are there any decent alternatives to VSS?

    I have been using VSS for the last year or two and though it seems to do a pretty decent job, I'm interested in what else is out there to handle source version control. Does anyone know of any equivalent packages (in terms of features and capability) that could be viewed as a serious alternative...
  13. TomLeMes

    A way to search through all objects in a class library

    Cool! What a useful thing! Now how long has everyone known about this??? Why didn't anyone tell me?! ;) Looking at how handy this is, I'm guessing I look pretty silly for never having seen it before, but finding the answer makes it worth the embarrasment of asking. Thanks, Tom
  14. TomLeMes

    A way to search through all objects in a class library

    Sorry gang, think I just answered this one - just opened the .VCT file in notepad and that seems to show me everything.
  15. TomLeMes

    A way to search through all objects in a class library

    Hi, I have a rather large class library and somewhere hidden inside it, there is an object that contains code to turn the set the cursor off (e.g. SET CURSOR OFF). Is there a way that I can avoid going into each an every object in turn and doing a search until I find the code? I'm thinking...
  16. TomLeMes

    SQL Server Diagrams. 'Optional' Relationships

    Thanks again for your input Rac2, that all makes complete sense. Tom
  17. TomLeMes

    SQL Server Diagrams. 'Optional' Relationships

    Thanks Rac2, some interesting points for me to think about. To give this some 'real world' context, I'm talking about a table of Loans. Some loans have an associated insurance policy. A loan can have only have one policy (or none), but a single policy can cover several loans. So our LOAN table...
  18. TomLeMes

    SQL Server Diagrams. 'Optional' Relationships

    Hi everyone, I've just started using the 'Diagrams' section of SQL Enterprise Manager. I'm completely new to it, so this is probably a very basic question. I've set all the relationships between tables (linking pks to fks across tables), but some of these relationships are optional (i.e. can...
  19. TomLeMes

    DTS from SQL -> SQL is changing Varchar field to Text field

    Thanks mysticmart, the instructions I was given were to use the 'Copy table(s) and view(s) from the source database' option. The copy objects works perfectly, thanks a lot, Tom
  20. TomLeMes

    DTS from SQL -> SQL is changing Varchar field to Text field

    We'll often want to do a quick DTS (Export data...) between our dev server and our live server. A problem with this is that although the data and tables are copied across successfully, any varchar fields are converted to text(16) fields. Has anyone come across this before? Is there a way of...

Part and Inventory Search

Back
Top