Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application Wierdness
Message
From
30/08/2004 13:22:44
 
 
To
30/08/2004 13:01:59
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00937648
Message ID:
00937710
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform