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 TouchToneTommy 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. wsobers

    How to make a XML schema inline with the data.

    Thanks for the reply, I did some more research and got some information from here: "http://foxcentral.net/microsoft/WhatsNewInVFP9_Chapter10.htm" that gave me exactly what I needed. I am producing an XML file using another DB product to be loaded by Foxpro using the XMLAdapter class and I...
  2. wsobers

    How to make a XML schema inline with the data.

    I need to export data from a remote system to Fox to generate reports. I can generate a schema file and data files separately, but I want to be able to pass single file containing both schema and data. Does anyone have an example of this? Or can someone point me in the right direction. Wayne
  3. wsobers

    How to change page margins

    I have a Magicard Opera Card printer. When trying to print to it I find that the Page margins are set and fixed at 1 inch. Does anyone know how to change these margins? Fox 9.0 SP1 Wayne
  4. wsobers

    Using the Image control

    Jim, Thanks for the pointer. It worked great for what I want to do. There is one more question, I find I have to assign the PictureVal property to get the image control to refresh, rather than just have the PictureVal Property set on the Property sheet. Is this normal, or am I missing something...
  5. wsobers

    Using the Image control

    I have created a cursor with a general field. Basically its a list of names with a JPEG or GIF image for each name. I want to be able to display the image from the general field on a form. I have done this using the file name technique, but in this instance I ( or rather Management) do not want...
  6. wsobers

    Using Dataenvironment with cursors

    Olaf, The problem you describe is exactly why I tried to use the DE in the first place. I used Foxpro way before the DE was added to the product and I always pre-generated the data into a single cursor because: a) If there where problems with the report I could put the cursor data into a table...
  7. wsobers

    Using Dataenvironment with cursors

    Here is the class I ended up with. *File: orderdde.prg define class orders as DataEnvironment * initialselectedalias = "orderd" * procedure init do ordload this.opentables() endproc procedure opentables select orderh index on orderno tag orderno select orderd index on orderno tag...
  8. wsobers

    Using Dataenvironment with cursors

    Olaf, there are no databases involved. What I am doing is creating cursors on the fly and populating them with data from XML and CSV sources. In some cases the data is being passed via OLE/COM interfaces. I want to avoid explicitly creating temp tables on the users machine which is why I am...
  9. wsobers

    Using Dataenvironment with cursors

    I build my reports by generating cursors first and then running the report form. I was hoping to run the cursor generation code in the init or opentable event of the DataEnvironment, but it seems as though the DE needs to reference file based tables and cannot use in-memory cursors. Can anyone...
  10. wsobers

    Insert dates into VFP Table via ADODB

    Mike, I tried "{^YYYY-MM-DD}" as well, but no luck. Pamela, Given that I am using an ADODB Command object, I'm not sure how to go about setting this up. I'll have to do some more research on this. Thanks for replying... Wayne
  11. wsobers

    Insert dates into VFP Table via ADODB

    cInserFields is like this:- [Account,CustName,Rate,Address] cInsertValues is a string somewhat like: [1345,"Fred Bloggs",5.87,"1 Random Way"] so the final string looks like... "insert into xrtlparts (Account,CustName,Rate,Address) values (1345,"Fred Bloggs",5.87,"1 Random Way")" This works for...
  12. wsobers

    Insert dates into VFP Table via ADODB

    I have to update/insert records into a VFP free table. Code follows below... Dim Conn As Variant Dim sql_cmd As String, qry_cmd As String ' Set Conn = CreateObject("ADODB.Connection") Conn.Mode = 16 ' ShareDenyNone Conn.CursorLocation= 3 'Client Side Cursor Conn.Open "Provider=VFPOLEDB;Data...
  13. wsobers

    Insert dates into VFP via ADODB

    Thanks Mike, I'll repost in the other forum. Wayne
  14. wsobers

    Insert dates into VFP via ADODB

    I have to update/insert records into a VFP free table. Code follows below... Dim Conn As Variant Dim sql_cmd As String, qry_cmd As String ' Set Conn = CreateObject("ADODB.Connection") Conn.Mode = 16 ' ShareDenyNone Conn.CursorLocation= 3 'Client Side Cursor Conn.Open "Provider=VFPOLEDB;Data...
  15. wsobers

    Drop down on first click

    I have implemented the "auto-fill" combo box from faq184-1812. In the GotFocus Event, I change the background color and call 'dodefault()' If the combobox does not have focus and i click on the combo down arrow, the cursor moves into the combo box but the list does not drop down. It then...
  16. wsobers

    Changing data using Update Trigger?

    I'm coming to this late, but fox has a LUPDATE() function which gives that date of the last update. Also check the 10 minute solution at: "http://gethelp.devx.com/techtips/vfox_pro/10min/10min0899.asp" Wayne
  17. wsobers

    Lotus Notes

    Just a note, Lotus.NotesSession invokes Notes via COM, while Notes.NotesSession does it via OLE. The difference is that Notes.NotesSession will launch the notes client if it is not already running, while Lotus.NotesSession won't. Lotus.NotesSession may not be registered with windows if it can't...
  18. wsobers

    Color/Border of Grid field in Focus

    Thanks for the reply. I endded up changing the Text box border color to get what I wanted. Wayne
  19. wsobers

    Color/Border of Grid field in Focus

    I had tried setting those properties to no avail. What I have managed to do is make the colums readonly and disable the text box control for the column. This keeps the color of the selected field the same as the other colums, but there is still the border around the selected field. Thanks for...
  20. wsobers

    Color/Border of Grid field in Focus

    I have a grid where the current row is highlighted using the column dynamicBackColor property. The current field always has a border around it, and has a different Fore and Background color. What can I do to make the current field match the other fields in the same row? TIA Wayne Sobers

Part and Inventory Search

Back
Top