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

  1. StewartUK

    How do I get a memo field into a csv document

    Thanks for the offer Cetin. As it happens the back end of the new system in SQL Server Express. There are no blob or general type fields. I know I could have simply worked out the mapping from my data structure to theirs and transferred the data straight in with ODBC (which I partly did when...
  2. StewartUK

    How do I get a memo field into a csv document

    Cetin is correct - we are changing our CRM database from the one I designed and purchasing another system. Therefore I need to output the data from the current system in to csv files so that it can be imported in to the new system. Stewart
  3. StewartUK

    How do I get a memo field into a csv document

    Thanks Geoff & Mike. I found that the textmerge idea is simplest. Stewart
  4. StewartUK

    How do I get a memo field into a csv document

    We are in the middle of migrating our database and I need to get my notes fields, which are memos, into a csv file. How can I do that? Thanks, Stewart
  5. StewartUK

    email problem

    Sorry Filip, didn't mean to set off a load of comments. I was saying "or the French version" because I noticed that you had an IF...ELSE...ENDIF with different languages in each part. So you starred out the line m.xxbody = alltrim(tmpcroff.mailtekst) to test what was going on? Does that...
  6. StewartUK

    To ignore or to ignore, that is the....

    Hi Lee, Sorry about that, I see Mike partly clarified what I meant, although I was thinking of still building up a string for macro execution, so instead of" AND Surname = " + m.TargetSurnameyou would have" AND Surname = [" + THISFORM.txtSurname.Value + "]" && note the extra quotes...when...
  7. StewartUK

    To ignore or to ignore, that is the....

    Lee, Assuming you are using textbox or something similar for the user to enter search criteria you don't need to use variables - you could instead put the textbox value directly in as you build up the WHERE clause. Another thing you could consider is to loop through each object on the form...
  8. StewartUK

    email problem

    Filip, Maybe I'm missing something but you have the line* m.xxbody = alltrim(tmpcroff.mailtekst) commented (starred) out followed by the linem.xxbody ="Geachte,"+CHR(13)+CHR(10)+CHR(13)+CHR(10)+ "Naar.....(or the French version). Otherwise I can't see a problem with the...
  9. StewartUK

    Stop output to screen when using SET ALTE TO

    Oh yeah!! Doh! Thanks, Stewart
  10. StewartUK

    Stop output to screen when using SET ALTE TO

    It's so long since I've used SET ALTERNATE TO that I've forgotten how to stop output to the screen when using ? to output text to the alte file. I've got Echo, Notify and Talk off. What's missing? Thanks, Stewart
  11. StewartUK

    test for a modified table

    Hi Howard, Well FDATE([filename]) will give you the modification date (or datetime), FOPEN([filename],12) can return whether or not the file is availble to write to (and so whether the routine has finished). However I have to ask why are you using the RUN command to an external program to do...
  12. StewartUK

    Migrating database from VFP to MySQL

    I'm looking into migrating my database from VFP to MySQL. Most of the data type mappings seem straightforward, but I'm not sure how to deal with the VFP logical data type - that is TRUE and FALSE. It seems that I can either use tinyint(1) or bit(1) for creating the field. What would you...
  13. StewartUK

    HotKeys Help

    Steve - glad you found it useful. Also see the help topic How to: Assign Access Keys and Keyboard Shortcuts. It doesn't seem say it there, but if you use the \< with a label object caption, VFP will put the cursor in/on the next object in the Tab Order list. Stewart
  14. StewartUK

    HotKeys Help

    Steve, Can I just check that you know about using this key combination\<in the caption of buttons? This creates a shortcut that responds to an Alt key combination. Stewart
  15. StewartUK

    CONSTANTS versus separate table for 'messages' etc.

    Glad you found it useful Bart. Yes I do use a table for messages to users. I also use it to hold other data that the application needs such as dates when an event last happened, lists of users who should be informed when certain things happen and so on. The structure is in the form of, what I...
  16. StewartUK

    CONSTANTS versus separate table for 'messages' etc.

    Bart, I would never use constants for messages that the user would see. Constants are built into the application (that is, the constant name is replaced with the value of the constant) at the point when you build it. So if you ever needed to change a message you would need to rebuild the exe...
  17. StewartUK

    FoxPro Alphanumeric fields

    Doesn't CHRTRAN do the job? CHRTRAN('124A Tekno22' , [1234567890],[]) gives 'A Tekno' Stewart
  18. StewartUK

    Email automation with Outlook 2007 and 2003

    Lee, I'm very interested to hear you say that Outlook 2003 needs to be running in order for your VFP app to send emails through it. I have a similar problem with my app. In my case there's no error as such - the email just ends up in the user's inbox marked as not having been sent. I asked a...
  19. StewartUK

    passing table field to program

    That's how it sounds to me. As Mike Lewis said, if you can run it in the development environment on the "real" database, then suspend execution when you get the error and have a look at the record it's working on and see if that gives you a clue. Hope that helps, Stewart
  20. StewartUK

    Name of the form just opened

    I'd be interested to know why you want to do this...but how about calling it like this:DO FORM SomeForm WITH "oSomeName" NAME oSomeName - passing the oSomeName as a parameter to the Init event of the form? Stewart Hope that helps, Stewart PS If you want to get the best response to a question...

Part and Inventory Search

Back
Top