Hi Folks,
On a form there is an embedded xDialog containing a recordlist listbox, together with an edit box where one can search for a substring in the description field.
Searching, editing (Bearbeiten here) and deleting (L�schen here) records from this form do work very well.
But: When entering a record, everything works OK except that the data is displayed as a series of ��������.... (see attached screenshot)
But-2: In the table itself, the record is obviously stored with correct data!
This can be seen by entering part of the description of the newly created record in the search box. The record list refreshes itself immediately and displays the correct field data.
I have tried all the possible machinations of refreshing the dialog or using the ...targeted() variant etc. but to no avail.
These ����'s do appear when running this line ov code inside the xdialog in question:
Leaving this line away, the record list does - of course - not refresh at all
Sorry, forgot to give translated instructions (Form is in German..):
- Open form 'Kontenplan'
- Hit button 'Neu'
- Enter, say, 'Kto.-ID' as 4500 and 'Bezeichnung' as Test
- Hit Button 'Speichern'
Amendment: Tested the form on my laptop, running on Win XP and there it works well!! So the problem seems to be OS specific? Timing Problems? Other??
Thanks for taking the time to help me out of this holdup - any help most appreciated, as I have spent hours trying to solve this one!
Accounts(RecordList_Problem_xD)[1].zip
Also see the attached screenshot.
RecordList_displayproblem.jpg
On a form there is an embedded xDialog containing a recordlist listbox, together with an edit box where one can search for a substring in the description field.
Searching, editing (Bearbeiten here) and deleting (L�schen here) records from this form do work very well.
But: When entering a record, everything works OK except that the data is displayed as a series of ��������.... (see attached screenshot)
But-2: In the table itself, the record is obviously stored with correct data!
This can be seen by entering part of the description of the newly created record in the search box. The record list refreshes itself immediately and displays the correct field data.
I have tried all the possible machinations of refreshing the dialog or using the ...targeted() variant etc. but to no avail.
These ����'s do appear when running this line ov code inside the xdialog in question:
Code:
records_found = topparent.queryrun("(man_id = Var->gvMandant_ID ) .and. (cart_head_id = \"00000\" )","","","No","tbl_cart_header",.f.)
Sorry, forgot to give translated instructions (Form is in German..):
- Open form 'Kontenplan'
- Hit button 'Neu'
- Enter, say, 'Kto.-ID' as 4500 and 'Bezeichnung' as Test
- Hit Button 'Speichern'
Amendment: Tested the form on my laptop, running on Win XP and there it works well!! So the problem seems to be OS specific? Timing Problems? Other??
Thanks for taking the time to help me out of this holdup - any help most appreciated, as I have spent hours trying to solve this one!
Accounts(RecordList_Problem_xD)[1].zip
Also see the attached screenshot.
RecordList_displayproblem.jpg
Comment