Warning: Illegal string offset 'status' in /home2/icentarb/public_html/icentar/print.php on line 190

Warning: Illegal string offset 'status' in /home2/icentarb/public_html/icentar/print.php on line 190

Warning: Illegal string offset 'status' in /home2/icentarb/public_html/icentar/print.php on line 190

Warning: Illegal string offset 'status' in /home2/icentarb/public_html/icentar/print.php on line 190

Warning: Illegal string offset 'status' in /home2/icentarb/public_html/icentar/print.php on line 190

Warning: Illegal string offset 'status' in /home2/icentarb/public_html/icentar/print.php on line 190

Warning: Illegal string offset 'status' in /home2/icentarb/public_html/icentar/print.php on line 190

Warning: Illegal string offset 'status' in /home2/icentarb/public_html/icentar/print.php on line 190

Warning: Illegal string offset 'status' in /home2/icentarb/public_html/icentar/print.php on line 190
iCentar » Racunari i oprema » Programirannje i baze podataka » Access » gipko 1022
nevsad 15.03.2014 21:13
Predmet:gipko 1022

u primjeru kojeg sam zakacio
na commandu gipko
kada imam žćčš u imenu i prezimenu dobijem poruku

a kad je ime bez ovih karaktera dobijem xlm file korektan

gdje je kvaka

unaprijed hvala jer nemam više ideje

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------
------------------------------

An invalid character was found in text content. Error processing resource 'file:///C:/plata/2310965113246_ŠESRTEO RODIĆ.xml...

<ImeIPrezime>
Prilozi:
oaza13.rar (Velicina datoteke:342.52 KB)

zxz 15.03.2014 22:01
Predmet:Re: gipko 1022

Citat:
na commandu gipko
Nemogu da ti nadjem ovo

zxz 15.03.2014 22:09
Predmet:Re: gipko 1022

Nasao sam.
Imsa ovo sirenje forme i na mom 22 inca monitoru ne vidi se samo pola hehe..
sad cu da pogledam

zxz 15.03.2014 22:27
Predmet:Re: gipko 1022

Kod mene nece da radi jer u tabeli gipko2 ne bude podataka i stane ovdje.
Open "c:\plata\" & rst2!JMBZaposlenika & "_" & rst2!ImeiPrezime & ".xml" For Output As #1

Problem je sigurno u kodnoj strani.
pogledaj gdje stane kada javi gresku.
U kojem redu pa cemo to pokusati rijesiti da ja ne dopisujem podatke u bazu.

nevsad 15.03.2014 22:54
Predmet:Re: gipko 1022

red 15 na imenu i prezimenu
ali to isto radi na mipu

zxz 15.03.2014 23:15
Predmet:Re: gipko 1022

Kopiraj red koda gdje stane.

nevsad 15.03.2014 23:23
Predmet:Re: gipko 1022

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------
------------------------------

An invalid character was found in text content. Error processing resource 'file:///C:/plata/2310965113246_ŠESRTEO RODIĆ.xml...

<ImeIPrezime> ovdje stane *************************************

ako file otvaras sa notepadom onda je sve ok

nevsad 15.03.2014 23:25
Predmet:Re: gipko 1022

tacno 15 red

Print #1, "<ImeIPrezime>" & rst2!ImeiPrezime & "</ImeIPrezime>"

zxz 15.03.2014 23:26
Predmet:Re: gipko 1022

Pa imas li ti kod za pretvaranje u utf8 ili saljes bas ovako.

zxz 15.03.2014 23:46
Predmet:Re: gipko 1022

Pa da ne pretvaras u UTF i zato nece.
Evo ja sam pretvorio i sve radi.
Zakacit cu ti modul i na kraju koda moras pozvati:
Primjer:
Dim ImeF As String
ImeF = "c:\plata\" & rst2!JMBZaposlenika & "_" & rst2!ImeiPrezime & ".xml"
Open "c:\plata\" & rst2!JMBZaposlenika & "_" & rst2!ImeiPrezime & ".xml" For Output As #1

I na kraju:
MsgBox "Uspješno ste kreirali xml fajl: " & rst2!JMBZaposlenika & ".xml", vbInformation, "Queensland Computer"
MsgBox "Fajl je snimljen u mapu: C:\plata.", vbInformation, "Queensland Computer"
subConvertToUTF8 ImeF

Modul samo kopraj kod sebe negdje.
Prilozi:
dekoder.zip (Velicina datoteke:2.71 KB)