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 gkittelson 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. MdVries

    View + lock

    If i select an view, does my source table get locked? I have made an view called "view_partij" of my partij.dbf I use the code "select * from view_partij. ? isflocked("view_partij") is True ? isflocked("partij") is false Maybe other lockes are set when i select my view_partij.
  2. MdVries

    copy an table to an crusor of table

    maybe i need an virtual table?
  3. MdVries

    copy an table to an crusor of table

    I am seaching for a way to copy a table without locking the source table. I have troubles when i do an select to the source table. what for code should i use my source table is "partij" and my dest "crs_partij" or "tmp_partij
  4. MdVries

    copy an table to an crusor of table

    how can i copy a table to a new table or crusor i want to copy the notes to
  5. MdVries

    New to FoxPro.. looking for a good book

    I use Advanced Object Oriented Programming with visual foxpro Markus Egger Hentzenwerke Publishing ISBN 0-96550-938-9
  6. MdVries

    not exlisive use

    what does "in 0 shared" do?
  7. MdVries

    not exlisive use

    I have made an program in VFP But my report locks the partij table When i start my report an sql query runs an shows the report That works fine. but when i close my report my tables are locked witch i use in my sql query that i use for my report. How can i use select * from partij without...
  8. MdVries

    Week number

    How can i gather the weeknumber ? date ("w") ? get_dateexpn(DATE(), 'w') ?????
  9. MdVries

    split string

    My string is "MCV-OHSOFT" i want the string split by "-" i want the second part of the string How can i do that
  10. MdVries

    i want to put two fields in one field

    i want to put two fields in one field code is: Aanhef.dear_desc + Persoon.dsp_naam AS TEST my result is this: "dear john " i want my result to be: "dear john" how can i do that? i have tryed: LEFT(Aanhef.dear_desc,LEN(Aanhef.dear_desc)) + Persoon.dsp_naam AS TEST but with...
  11. MdVries

    Howto close only 1 table?

    ******************************************** *My code SELECT * FROM rolk1; ORDER BY rolnummer, soort, rec_ord, id_ord; INTO TABLE rolkaart; ******************************************** How can i close only the rolkaart table?
  12. MdVries

    Field width

    Hello everyone, I want to have my adres field at an bigger width. (80 char) This is my code. SELECT *,; IIF(LENC(caddress1) => 0, "contact", "persoon") AS src,; IIF(LENC(caddress1) => 0, cacct_name, pacct_name) AS bedr_naam,; IIF(LENC(caddress1) => 0, caddress1, paddress1) AS adres; into...
  13. MdVries

    query with max date

    Table: ROLHAND dos_id rol_datum note --------+-------------+---------- 1 01-01-01 111 1 01-01-03 222 1 01-01-02 333 2 01-01-11 444 2 01-01-10 555 I want to select the rol_datum and note record...
  14. MdVries

    Replace

    UPDATE dossier; SET rol_datum = ( SELECT maxdatum.rol_datum; FROM max_datum; WHERE maxdatum.dos_id = dossier.rec_id); WHERE EXISTS; ( SELECT maxdatum.rol_datum; FROM maxdatum; WHERE maxdatum.dos_id = dossier.rec_id); What is wrong? I get a error "Function name is missing ).
  15. MdVries

    Replace

    Something like this???? REPLACE ALL dossier.rol_datum WITH maxdatum.rol_datum ; FOR dossier.rec_id == maxdatum.dos_id ; IN dossier I get an "Data type mismatch" error.
  16. MdVries

    Replace

    MAXDATUM rol_id max_datum -------+------------ 1 01-01-03 2 03-03-04 ======================================================== DOSSIER rol_id cost_code max_datum ---------+-------------+----------- 1 marc <---- Here 2...
  17. MdVries

    Virtual vield code (lookup)

    I have two tables Dossier and Rolhand I'am trying to get the newest date from table rolhand into dossier. <-- Text in Red I'am using virutal field, but i can't get it to work. Table: Dossier *DOS_ID Rol_id Rol_date ------ -+--------------+------------ 1 05dak-91...
  18. MdVries

    Lookup

    Later i tryed this one: SELECT MAX(Rolhand.rol_datum) AS datum FROM trv_bv!dossier INNER JOIN trv_bv!rolhand ON Dossier.rec_id = Rolhand.dos_id WHERE Rolhand.dos_id = ( "0000000040" ) ORDER BY Dossier.dos_id, Rolhand.rol_datum No results. But when i type this direct in one query it works fine.
  19. MdVries

    Lookup

    When i put this in a query: SELECT MAX(Rolhand.rol_datum) AS datum FROM trv_bv!rolhand WHERE Rolhand.dos_id = ( "0000000040" )" I get one result "04-04-2004" it works!!!! wow! But when i put the code in an virtual vield in Microsoft Visual FoxPro 8.0 i don't get any result. My question for...
  20. MdVries

    Lookup

    I am using Microsoft Visual FoxPro 8.0, i don't know if i can use SQL/Fox pro code. I use another virtual vield and this one is working!! look_mgr.get_value(dossier.cost_code,'cost.cost_desc') dossier.cost_code i use to get the vield cost_desc in table cost. Now i want to use dossier.dos_id...

Part and Inventory Search

Back
Top