Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Notes in the same row
Message
From
16/04/2007 11:11:16
 
 
To
15/04/2007 05:34:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01214141
Message ID:
01216248
Views:
14
Hi Olaf,

Thank you so much for the code you gave me. I used the second code without index and it works perfectly. Is there a way that I could get rid of .NULL. on my notes and just leave it blank if there is no notes? Please help. Thanks, Sam
* updating parent records
Select curParent
Scan
   lcNotes= ""
   Select curChild
   Scan For curParent.iid = curChild.iid
      lcNotes = lcNotes + Alltrim(curChild.cNote) + " "
   Endscan
   Replace mNote With lcNotes In curParent
Endscan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform