Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Thanks Garrett, I suspected as much but could not find it in 'black and white'. The Language Reference just mentions table under APPEND FROM, but I had to give in a shot. Drat! And I was just getting up to speed using views. I will try your approach.
>>Trying to populate a cursor from a view with muliple(duplicate records) to
>>drive a label form. I keep getting "g:\data\lproducts.dbf does not exist."
>>error message as indicated below. Can anyone see the obvious? Using VFP6 SP3
>>btw.
>>for x = 1 to maxlabels
>> appe from lproducts for howmany > totloops
>>* and it bombs right here on the append
>> totloops = totloops + 1
>>endfor
>
>APPEND FROM only operates on tables. You could try APPEND FROM DBF("lProducts"), but I'm not sure if that will work. It might be better to write it as an INSERT INTO.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement