Jump to content

samuraj154

Members
  • Posts

    1
  • Joined

  • Last visited

samuraj154's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi there, i have problem with funcion _MSSQL_GetRecord. If i try chose column like this: $getrecord = _MSSQL_GetRecord($sqlCon,"Kontrahent kon join Sklep s on (s.SklepId = kon.KontrId)","kon.KontrId,kon.Nazwa,kon.Skrot","where 1 = 1","kon.kontrid desc") _arrayDisplay ($getrecord)I get this: IF i tray do this with array: dim $tab[3]=["kon.KontrId","kon.Nazwa","kon.Skrot"] $sColumn = $tab $getrecord = _MSSQL_GetRecord($sqlCon,"Kontrahent kon join Sklep s on (s.SklepId = kon.KontrId)",$sColumn,"where 1 = 1","kon.kontrid desc") _arrayDisplay ($getrecord)Then i get nothing, no data and no error. When i select all columns : $getrecord = _MSSQL_GetRecord($sqlCon,"Kontrahent kon join Sklep s on (s.SklepId = kon.KontrId)","*","where 1 = 1","kon.kontrid desc") _arrayDisplay ($getrecord)That its ok, but i want to select columns. Sorry for my english.
×
×
  • Create New...