🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.delphi
3 messages
3 total messages Started by Ryszard Sat, 05 Sep 2020 13:42
wartosc zmmiennej
#347182
Author: Ryszard
Date: Sat, 05 Sep 2020 13:42
24 lines
1597 bytes
witam

potrzebuje podstawic wartosci do zmiennej MethodArgs typu AArrayOfKeyValueOfstringanyType

sa to parametry potrzebne do wywolania funkcji serwisu soap

dla .NET wyglada to mniej wiecej tak

MethodArgs = new Dictionary<string, object>
{
{ "TableName", "Towary" },
{ "SchemaName", "Towary" },
{ "Search", 1 },
{ "Condition", "Kod='AG001'" },
{ "RowCount", 20 },
{ "LastDate", "" },
{ "LastId", 0  }
}

a jak to zrobic w Delphi ?

z gory dziekuje za pomoc

pozdrawiam
Re: wartosc zmmiennej
#347183
Author: mmm
Date: Thu, 10 Sep 2020 11:27
14 lines
1219 bytes
> a jak to zrobic w Delphi ?
> 
> z gory dziekuje za pomoc
> 
> pozdrawiam
> 

A co to AArrayOfKeyValueOfstringanyType  ? Jak jest zadeklarowana ?
np. prawy przycisk myszy na typie danych "Find declaration".
AArrayOfKeyValueOfstringanyType to tylko nazwa, a przydało by sie 
ustalić co to jest bardziej szczegółowo.

M
Re: wartosc zmmiennej
#347184
Author: Rysiu Kowalski
Date: Thu, 10 Sep 2020 22:22
27 lines
2189 bytes
czwartek, 10 września 2020 o 13:27:04 UTC+2 mmm napisał(a):
> > a jak to zrobic w Delphi ? 
> > 
> > z gory dziekuje za pomoc 
> > 
> > pozdrawiam 
> >
> A co to AArrayOfKeyValueOfstringanyType ? Jak jest zadeklarowana ? 
> np. prawy przycisk myszy na typie danych "Find declaration". 
> AArrayOfKeyValueOfstringanyType to tylko nazwa, a przydało by sie 
> ustalić co to jest bardziej szczegółowo. 
> 
> M


ok, problem rozwiązany, tak wygląda deklaracja zmiennej i wszystko jasne

ArrayOfKeyValueOfstringanyType = array of KeyValueOfstringanyType;

  KeyValueOfstringanyType = class(TRemotable)
  private
    FKey: string;
    FValue: Variant;
  published
    property Key:   string   read FKey write FKey;
    property Value: Variant  read FValue write FValue;
  end; 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads