ATOUTFOX
COMMUNAUTÉ FRANCOPHONE DES PROFESSIONNELS FOXPRO
Visual FoxPro : le développement durable

Forum AtoutFox : Re: application reseaux   

Sujet

rss Flux RSS des derniers messages

Vous devez vous identifier pour pouvoir poser une question ou répondre.

jeu. 27 juin 2013, 14h09

lotfi072003
Algérie Algérie

atoutfox.public.association

Re: application reseaux

VOICI UNE EXEMPLE DE CODE ET LES L'ENDROIT QUI PROVOQUE L'ERREUR

MALGRE QUE J'AI CHANGER L'OUVERTURE DES TABLES EN MODE PARTAGER

SET TALK  OFF
CLOSE DATA ALL

SET MULTILOCKS ON
******************************************
SELECT 1

IF !USED("DOSSIER")
  USE DOSSIER shared in 0
ELSE
  SELECT DOSSIER
ENDIF
CURSORSETPROP ("Buffering",1, "DOSSIER")
IF CURSORSETPROP ("Buffering",1, "DOSSIER")

  *!*  pack               && ICI

ENDIF
SET MULTILOCKS ON
CURSORSETPROP ("Buffering",5, "DOSSIER")


******************

SELECT 2
IF !USED("produit")
  USE produit  shared in 0
  else
  SELECT produit
ENDIF
 CURSORSETPROP ("Buffering",1, "produit")
IF  CURSORSETPROP ("Buffering",1, "produit")
  *!*  pACK                                                                              && ICI
  SET ORDER TO produit
  reindex                                                                                 && ICI

ENDIF

CURSORSETPROP ("Buffering",5, "produit")
************************************************
************************************************
SELECT 3
IF !USED("rubrique")
  USE rubrique shared in 0
  else
  SELECT rubrique

ENDIF
CURSORSETPROP ("Buffering",1, "rubrique")
IF  CURSORSETPROP ("Buffering",1, "rubrique")
  *!*  pack
  SET ORDER TO rubrique
  reindex
ENDIF

CURSORSETPROP ("Buffering",5, "rubrique")


Permalink : http://www.atoutfox.org/nntp.asp?ID=0000012323
20 286 messages dans le forum • Liste complète des messages

www.atoutfox.org - Site de la Communauté Francophone des Professionnels FoxPro - v3.4.0 - © 2004-2026.
Cette page est générée par un composant COM+ développé en Visual FoxPro 9.0-SP2-HF3