Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A strange problem with data
Message
 
 
To
04/06/2010 11:09:49
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01467326
Message ID:
01467334
Views:
46
>>>I've broken into this problem
>>>
>>>I installed an application with a database. Now happens that as the user runs a form He gets the error 5, but if I launch the application from my pc I have no error.
>>>What can it be ?
>>
>>Can you find the exact line of code which is failing?
>
>yes is a select, but it never gave me problems...
>
>
>Select la_anamag.id, la_anamag.cod1, la_anamag.descri,udm, ;
la_anamag.ctm1+la_anamag.ctm2+la_anamag.catmer as 'catego',;
 la_tabudm.sigla as 'udmsigla', la_tabcat.descri as 'catdes', ragsoc, ;
lastcosto  from 'la_anamag'  left join 'la_tabudm' on la_anamag.udm = la_tabudm.idudm ;
 left join 'la_tabcat'  on la_anamag.ctm1+la_anamag.ctm2+la_anamag.catmer =  la_tabcat.idfam + la_tabcat.idgrp + la_tabcat.idcat;
 left join 'la_fornit' on la_anamag.cdlstforn = la_fornit.id  into cursor 'wla_listino' READWRITE 
>
>
>it is a very old application. The only thing I did was to change the database name, but it is strange that I got no errors if I run it from My Pc .
>I thought I got over the problem copying an empty set of data but as soon as I insert a new record, it starte to give me the error again.
>The record was correctly written.

Record is out of range error can not be on the select statement. It should be on go record statement or something similar.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform