Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Notes in the same row
Message
From
10/04/2007 19:46:10
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
10/04/2007 16:32:03
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:
01214220
Views:
15
>Hi Sir,
>
>I have a Part Number that has two notes. For example, in my crsBomNotes with Part Number 101010, it has R1, R2, R3 on the first Note and R34, R35, R36 on the second row. I am trying to put all the notes in crsBomNotes to crsMLE.Notes per given Part Number.

Just

replace crsNotes.notememo with alltrim(note1)+" "+alltrim(note2)

assuming you got the notes in variables. Or, if you're going through a loop,
select crsNotes
lcNote=""
scan while pk=mypk
  lcNote=lcNote+iif(empty(lcNote), "", " ")+alltrim(note)
endscan
replace notememo with lcnote in crsBomNotes

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform