Hi wduser Please note this can be easily configured/defined in the Configuration of your project (Top node in the 'Project Explorer'). Make all your project configurations unicode as that will work best across platforms. Only use a specific x is ANSI string declaration if there is no other way around it. Cheers Peter H.by PeHoBe - WinDev Forum
Hi hBuildKeyValue is your friend... RTFM: https://doc.windev.com/en-US/?3044258&name=hconstruitvalcle_fonction Cheers Peter H.by PeHoBe - WinDev Forum
Hi Steve If you can wait, this is a feature in V26 if I recall correctly. Otherwise there's indeed plenty of open source libraries that can do that on GitHub / Nuget (.Net). Cheers Peter H.by PeHoBe - WinDev Forum
Hi Reg Aside of all the other hints mentioned before you might want to generate the file locally in fTemp of the user and when it finished do an fCopy to the share which you can test at that time if it ran successfully. Just some more ideas Cheers Peter H.by PeHoBe - WinDev Forum
Hi Reg Running your reports on a separate thread can be a resolution to resolve this. On that thread you can have a time-out that would kill any hanging report generation after a certain time. That way you will no longer block the main thread. My 2 cents Peter Holemansby PeHoBe - WinDev Forum
Hi all CSV export from Excel takes the settings from the Windows Regional Settings (Option "More Settings"). In there on the "Numbers" tab you can define the "list separator" character. If you set that to a pipe "|" Excel will export to csv with the fields separated by a "|". At least that is how it worked in the old days. Guess it is stillby PeHoBe - WinDev Forum
Hi Steven Understood. Just keep in mind the same logic as with JSON content applies with your declarations on XML documents of course... E.g.: XResponse is XMLDocument <description="yoursamplexmlresponsefile"> XResponse = RstRsp..Content Next you'll have the same type-ahead and assignment features in the code editor as with JSON. And next you can easily break itby PeHoBe - WinDev Forum
Hi Steve You're welcome! Two more notes however: 1) For a lot of REST API type web services you can provide the format it needs to reply in (json or xml). This is done via the ..ContentType attribute in your RestRequest. In general json has the preference as it is more lightweight (e.g. mobile devices and mobile connections). 2) By using the <description=...> attribute duringby PeHoBe - WinDev Forum
Hi Steve Guess you know "Associative Arrays" so it is easy. If the Rest Response provides you for example a security token back via thr header you can get it the same way as you do for an associative array item. //Declare RstRqt is RestRequest RstRsp is RestResponse JRequest is JSON <description="yourinputjsonsamplefilename.json"> JResponse is JSON <descrby PeHoBe - WinDev Forum
Hi Cabinetman Alternatively you can use Goole to search in the help. It's much faster than PCSofts search: Syntaxes in Google e.g.: hFilter site:doc.windev.com hFilter site:doc.pcsoft.fr Cheers Peterby PeHoBe - WinDev Forum
Hi Willy All explanation is there though: https://doc.windev.com/en-US/?3075002&name=TableauCherche Cheers Peterby PeHoBe - WinDev Forum
All, The online TDF for the versions 26 has been published by PCSoft on YouTube. You can configure auto translated subtitles in youtube for the non French speaking. The quality of the automatic translations is... well... mediocre but it will give you an idea about the novelties. The TDF has been replaced by three online and 'live' keynotes as an alternative due to covid and forby PeHoBe - WinDev Forum
Hi Ola Windows XP is no longer supported by Microsoft since April 8th 2014 and Microsoft is no longer providing security updates and patches for it since... I don't think it is wise to still have an XP machine hooked up to the internet. How can you support a solution on a platform that itself is no longer supported for more than 6 years? Just my 2 cents Peterby PeHoBe - WinDev Forum
Hi Mike Why would you still want a database in ANSI format in 2020? It seems your Project configuration is Unicode but your database is ANSI. In the analysis, there is an option to automatically set all strings to Unicode. If you're using HyperFile, the regenaration it will automatically update your database too. It will prevent you form doing all this in-line conversion WL.Stringby PeHoBe - WinDev Forum
Hi Ola There's an option in the analysis editor to set all string type fields to Unicode at once. You might give it a shot and next modify your project configuration in Unicode if that is not already done. Cheers Peterby PeHoBe - WinDev Forum
Hi Ola, Guess your project is still in ANSI and the email (encoded as UTF-8 most likely) is unicode... I'm not doing any WX ANSI stuff anymore since WX17... Today's standard is unicode and it is the default for mobile development and most web services for example. So if you don't want to do a lot of ANSIToxxx and xxxToANSI translations or specific declarations (is ANSI striby PeHoBe - WinDev Forum
Hi Mike Depends on how you defined the index I believe. If you have used an index that doesn't take special characters and spaces into account (/ and - in this case), they are identical. Cheers Peterby PeHoBe - WinDev Forum