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. Chris Miller

    FoxPro button status

    It's not really plausible to me, though, why you could create a button rendered disabled, to not have anything that could enable it but removing it and replacing it with a new enabled button. The only justification for a disabled button is to show there is a way to enable it. The only reason a...
  2. Chris Miller

    FoxPro button status

    Do you have a help file about FPM 2.6b? It may help to refer to it - https://www.vfphelp.com/help/_5wn12pwjw.htm has a legacy help chapter on @...GET Buttons. I have read through and it describes how to create disabled buttons, but there is no mention about getting the status. So as Joe...
  3. Chris Miller

    Retrieving Images (varbinary(max)) from MS SQL Server

    Using field names that are reserved words, you can make sure SQL Server gets what you intend to say by using square brackets as name delimiters. So: SELECT IDNum, CAST([Image] as Image) As DocImage From ITable Where IDNum = 3 But it seems it's not necessary in this case.
  4. Chris Miller

    Retrieving Images (varbinary(max)) from MS SQL Server

    In https://doughennig.com/Papers/Pub/Hennig_ODBC.pdf you learn about what you describe: Doug still recommends using the newest ODBC Driver X for SQL Server series with workarounds.
  5. Chris Miller

    User defined property in Property-window

    GTGeek88 said Thor's PEM Editor. You get it by getting Thor, you only need to go through the PEM Editor dcumentation, not all of Thor.
  6. Chris Miller

    FoxPro button status

    All in all the question you had was more about how to address an object on a form, which back then you didn't realize it was actually about. Well, let me focus a bit on the Enabling of a control from code outside of the control. It's natural, at first sight, you have to control the enabled...
  7. Chris Miller

    Poll #4: What (proposed) successors of FoxPro have you tried, plan to use/learn about?

    You could say VFPA has gone the more straight forward path of making VFP work with newer C++ runtimes. Anyway, the idea to base a VFP runtime on the .NET framework enables all kinds of new options as you dive into the .NET world, that way. One consequence of that is that Guioneu also works on...
  8. Chris Miller

    Poll #4: What (proposed) successors of FoxPro have you tried, plan to use/learn about?

    True, I just know Christof uses it himself. The idea behind it is to stay VFP and have a replacement runtime once MS may decide against compatibility with the vfp9r.dll and - as a more realistic danger - the msvcr71.dll C++ runtime. I guess C++ 7.1 is already older than VFP9 and also deprecated...
  9. Chris Miller

    FoxPro button status

    No idea what you're talking about, but good luck with that.
  10. Chris Miller

    Data type mismatch

    Why are you doing these replaces at all, if you use controlsource, that's a two way binding, it reads from the contolsource and displays and it saves the modified value back to the controlsource. There is no need for all these replaces. A data type mismatch error in such code actually says that...
  11. Chris Miller

    FoxPro button status

    A form essentially is a treeview of objects, especially when objects are containers that can contain further objects, like the containerr classs or like a pageframe is a container of several pages, which each is a container for further controls, even further pageframes or containers. And as Joe...
  12. Chris Miller

    User defined property in Property-window

    You mean at design time, don't you, EinTerraner? I don't think you have the option to design that like a dropdown list of the possible values of a native property like alignment. What you may control is a script that intellisense runs, when you write objectnamepropertyname= and space. For that...
  13. Chris Miller

    FoxPro button status

    Not sure, if you actually mean the usual button, or the checkboix in style = 1 (grapohical), which displays the value it can have (.T./.F.) as pushed in or not. Well, then it's not enabled disabled, but pushed, not pushed and the value is that "status", because in the end it's a checkbox that...
  14. Chris Miller

    Poll #5: What other programming languages did you use, do you use, or are planning to use/learn?

    Thanks for pointing out how you came to implement an interpreter before Execscript existed. If your invented language doesn't match VFP 1:1, then it's obviouslly not as simple as throwing out your interpreter and instead do EXECSCRIPT. I think we have a bit of a language barrier and not all I...
  15. Chris Miller

    Poll #5: What other programming languages did you use, do you use, or are planning to use/learn?

    Why would you not use EXECSCRIPT(Memo) to simply execute VFP code in a memo field? I think the runtime even supports the COMPILE commmand. Not BUILD, that's for sure, MS forbids that otherwise the license to distribute the runtime royalty free would grant you to provide a VFP IDE royalty free...
  16. Chris Miller

    Data type mismatch

    Then post that one line and the others. There must be a difference you're blind for. Could be something like having a dot instead of a omma in a function call, so instead of separating two parameters, you have a dot between them, which could work between digits and make it one float numeric...
  17. Chris Miller

    Poll #2: What versions of FoxPro/XBase languages do you currently use/support?

    Mmerlin, I'm aware FoxPro also existed on Mac and even for SCO Unix. The number of options is limited for polls and I could make all options single options anyway, I consider them unimportant to the FoxPro world. Sorry, I realize it's "the world" to you, when that's the only version you support.
  18. Chris Miller

    VFP9 and OpenAI

    Another problem that also was a problem in the old thread ( I found it here: https://www.tek-tips.com/threads/vfp-and-ai-chatgpt.1828484/ ) Don't have line feeds in the cPrompt part, a string in JSON can't have line feeds. You could convert them to \n to state a line feed in the text, it...
  19. Chris Miller

    Poll #5: What other programming languages did you use, do you use, or are planning to use/learn?

    I once looked into InterSystems Caché in the beginning of the two thousands, but other than a bit of testing and eyeing with the concecpt I never got warm with it. It could be worth looking at what's in store from them, today, though the Wikipedia article about it...
  20. Chris Miller

    Data type mismatch

    I set the controlsource to an N field to test what could cause a datatype mismatch and used the Inputmask anyway - that also works without error, so you can use inputmasks when binding to character fields (or properties, variables) and also when binding to numeric fields. So, Filip, whatever...

Part and Inventory Search

Back
Top