Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save
Message
 
 
À
04/10/2006 13:27:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Re: Save
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01159451
Message ID:
01159577
Vues:
16
Check

  • mskb #Q138094 How to Create Updatable Views by Using SQL Passthrough.
  • How to make SQL Pass-Through cursor updatable FAQ #8153

    >I am developing a form and i need to update only 1 record from a table. I am opening the table like this:
    >
    >hConn = SQLSTRINGCONNECT("Driver=SQL Server;Server=(local);UID=;PWD=;Database=Empagram")
    >
    >lnConsul = SQLExec(hConn, "SELECT * FROM SBCabTransaccion "+;
    >"WHERE EMPRESA = 'EMPA' "+;
    >"AND tipomovimiento = 'CP' "+;
    >"AND (sttransaccion <> 'V') "+;
    >"ORDER BY nummovimiento", "SqlSBCabTransac")
    >
    >CURSORSETPROP("Buffering", 3)
    >CURSORSETPROP("SendUpdates", .T.)
    >CURSORSETPROP("UpdatableFieldList","emp_chqpag")
    >
    >
    >What´s wrong? and how i have to open the conexion to make this work?
    >
    --sb--
  • Précédent
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform