UPDATE-RECORD
- dajrokan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
14 years 11 months ago #5346
by dajrokan
UPDATE-RECORD was created by dajrokan
Hi,
it is possible in someway:
a. copy one field to another field within the same record
or
b. update ie 2nd multi-value field with specific string
using commang UPDATE-RECORD (or some else)?
I tried (problem a.)
SELECT F.APPLICATION
X records selected
>UPDATE-RECORD F.APPLICATION FIELD.1,EVAL 'FIELD.2'
:) and so on.. doesn't work
PS. jbase 4.1.5.26
thnx in advice
it is possible in someway:
a. copy one field to another field within the same record
or
b. update ie 2nd multi-value field with specific string
using commang UPDATE-RECORD (or some else)?
I tried (problem a.)
SELECT F.APPLICATION
X records selected
>UPDATE-RECORD F.APPLICATION FIELD.1,EVAL 'FIELD.2'
:) and so on.. doesn't work
PS. jbase 4.1.5.26
thnx in advice
Please Log in or Create an account to join the conversation.
- oscarramol
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
13 years 10 months ago #8535
by oscarramol
Replied by oscarramol on topic Re: UPDATE-RECORD
You can build an OFS String
try something like:
SSELECT FBNK.APPLICATION WITH SOME.CRITERIA SAVING EVAL "'APP.NAME,,USER/PWD,':@ID:',FIELD.COPIED::=':FIELD.TO.COPY.FROM"
then
SAVE.LIST TEST.TXT
then
tSS OFS.SOURCE.ID
Paste the content of file TEST.TXT
Provide the Aplication and i can build the OFS string for you
Study OFS, you can also update records and multivalue fields.
Regards
try something like:
SSELECT FBNK.APPLICATION WITH SOME.CRITERIA SAVING EVAL "'APP.NAME,,USER/PWD,':@ID:',FIELD.COPIED::=':FIELD.TO.COPY.FROM"
then
SAVE.LIST TEST.TXT
then
tSS OFS.SOURCE.ID
Paste the content of file TEST.TXT
Provide the Aplication and i can build the OFS string for you
Study OFS, you can also update records and multivalue fields.
Regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.024 seconds