Zmiany pomiędzy wersją początkową i wersją 1 dla SystemZamawiania/ObliczanieCeny

Pokaż
Ignoruj:
Data i czas:
2009-02-03 13:07:19 (16 years temu)
Autor:
dany (IP: 10.0.1.120)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • SystemZamawiania/ObliczanieCeny

    v1 v1  
     1= Obliczanie ceny ogłoszenia = 
     2 
     3przykład: 
     4{{{ 
     5set ctb=CreateObject("CTB.Application") 
     6ctb.LoadCennik "D:\Projects\giełda\CT.Biuro\xmldata\cennik2008.xml" 
     7 
     8Set Conn=ctb.ConnOpen("Provider=SQLOLEDB.1;Password=POLzax;Persist Security Info=True;User ID=sa;Initial Catalog=CTB_BOK_TEST;Data Source=10.0.1.1") 
     9 
     10 
     11where="idp=130431" 
     12Conn.Execute "update OGL set WYROZNIENIE=0 where " & where 
     13cena=ctb.Przelicz(where) 
     14WSCript.Echo cena 
     15Conn.Execute "update OGL set WYROZNIENIE=1 where " & where 
     16cena=ctb.Przelicz(where) 
     17WSCript.Echo cena 
     18 
     19 
     20 
     21}}}