Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Replace from related table inserts blank when no matching record exists


This topic is 3460 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I'm using replace field contents to update an "ID" field by getting it from a related table (related by other identifiers) that has the new ID.

That works fine, except that it replaces the field with a blank in cases where the new table has no matching record. Is there a way to avoid that?

 

thanks

 

Edited by cbum
Posted

Put the related ID field on the layout and perform a find for "*"; then perform RFC for the found set.

Alternatively, use this calculation

Case (
  not IsEmpty ( RelatedTable::IDField ) ;
  RelatedTable::IDField ;
  LocalTable::IDField // the RFC target field itself
)

as RFC result for the total record set.

  • Like 1
Posted

Thanks!

(facepalm & blush...)

 

;-)

 

 

This topic is 3460 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.