23
Views
1
Comments
How to display data correctly
Question

Here data display correctly

My Code

GetPledgeAddressUNI(PledgeIdCredit: PledgesListEdit.List.Current.Pledge.Id, IsRus: True)



But here don't correcty


My Code

If(GetPledgeById.List.Current.Pledge.FullAddressRus = NullTextIdentifier() or GetPledgeById.List.Current.Pledge.FullAddressRus = "", 
        GetPledgeAddressUNI(PledgeIdCredit: NullIdentifier(), IsRus: True, AddressId: LongIntegerToIdentifier(GetPledgesDDU.List.Current.Pledge.AddressId)),
        GetPledgeById.List.Current.Pledge.FullAddressRus)

mvp_badge
MVP
Rank: #2

Hi Kan,

First two observations:

  • If you specify all parameters of a Function, it's not necessary to specify the Parameter names. In general, I'd try to avoid that as it may clutter your Expressions;
  • You use a LongIntegerToIdentifier on "GetPledgesDDU.List.Current.Pledge.AddressId", why is that? AddressId should already be a proper Id, why isn't it stored as such?

That said I'm really not sure what the problem is. You show some pictures, but what goes wrong? What's that (seemingly) XML doing there? What does that have to do with your screen? I'm a bit lost here.