Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Notes in the same row
Message
De
13/04/2007 15:03:29
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01214141
Message ID:
01215739
Vues:
13
>>>Firstly, post your latest code, because, if history is any indication, we can assume anything.
>>>Let's go further. Is this 'part_num' integer or character?
>>
>>Here is my latest code. My tag name is tComPrt and it is character.
>>
>>
>>OPEN DATABASE testdbase
>>
>>SELECT mynotes
>>lcNotes = ""
>>SET ORDER TO TAG tComPrt
>>SEEK crsbom.partnum
>>SCAN WHILE mynotes.partnum = crsbom.partnum
>> IF EMPTY(mynotes.notes)
>>  LOOP
>> ENDIF
>> lcNotes = m.lcNotes + ALLTRIM(mynotes.notes)+ space(1)
>>ENDSCAN
>>IF NOT EMPTY(m.lcNotes)
>> REPLACE Notes WITH crsbom.notes + m.lcNotes IN crsbom
>>ENDIF
>>
>
>Please see the minor adjustments I made and apply them. Are you sitting on the right record in crsBom?

Sorry about that, I did not mean to ignore you. The above was my original code. This is still not working.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform