Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application Wierdness
Message
De
30/08/2004 13:22:44
 
 
À
30/08/2004 13:01:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00937648
Message ID:
00937710
Vues:
8
Make sure that setup.dbf is excluded from the exe and that it exists at (oVar.Sysdatapath) and is not read only.

>Here's the code where it's blowing up:
>
>IF !USED('SETUP')
> USE ALLTRIM(oVar.Sysdatapath) + 'SETUP.DBF' IN 0 SHARED
>ENDIF
>
>SELECT SETUP
>
>LOCATE FOR ALLTRIM(TableName) == m.cAlias
>
>IF RLOCK()
> brow **this browse allows me to look at the table okay, everything looks in order
> REPLACE NEXTID WITH nextid + 1 IN SETUP ** this line is where the program bombs off *****
>
> nRetVal = SETUP.nextid
> UNLOCK
>ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform