Good Afternoon Piet, You are correct (on both counts). I hadn't recognised the int array to string array issue & it is definitely not good practice. Also, correcting this has fixed the Interlocked Increment() problem I was having when the app was deployed. Very many thanks for taking the time to read through my code & identify the problem. Cheers, Robin.by Robin Lane - WinDev Forum
Here is the code: PROCEDURE CrewPopTable() dDateF, dDateT is Date nCrewID is int sData is string arrData is array of strings arrDataTbT is array of 4 strings arrCboID is array of 5 int arrCboName is array of 5 strings arrCboID = [3, 4, 7, 10, 15] arrCboName = ["Toolbox Talk", "Drills", "Induction", "Crew Change", "Crew Shift Change&by Robin Lane - WinDev Forum
Hi Guenter, Thank you for your quick reply. When you say "release the code", do you mean publish it here? I am more than happy to do so if it would help. I have sent a request to PC Soft, however as an update I get the same error on two separate machines & also when I tried installing the app on my development laptop too. It is strange that it runs great while in test modeby Robin Lane - WinDev Forum
Hi All, I have an app which works okay when run in test mode on my development machine. I've recently tried to deploy it onto another laptop and although it installs fine, I'm getting the following error when trying a certain process. Can anyone point me in the right direction please? Many thanks, Robin. Error at line 28 of Local Procedure CrewPopTable process. Unby Robin Lane - WinDev Forum
Hi Al, Thanks for your assistance, I've got it copied across now. I had been playing about, but only copying the .wdd & .wda files. I remember Fabrice writing an article describing how to rename a project, I'll see if I can find it & then I can have the whole project with the same name. Cheers, Robin.by Robin Lane - WinDev Forum
Dear All, I cannot find an answer to my question, although I seem to remember there was a thread about this many moons ago... I would like to copy a complete Analysis (ie all database files and their links) from one project into a new project. Then I wish to be able to modify the newly imported Analysis in the new project, while maintaining the original Analysis untouched. Can someby Robin Lane - WinDev Forum
Marvellous Arie, That's great, many thanks. Robin.by Robin Lane - WinDev Forum
Hello All, Is there way of editing the title of the print preview window? I am using the following code from a button, but I would like to be able to change the default title of the preview window. iParameterPreview(iButtonNone) iPreview(100) iPrintReport(RPT_FullDPR) I've tried via code from within the report, & with NextTitle() but am not having any success. Many thanksby Robin Lane - WinDev Forum
Hello Darren, Thanks for your reply. I guess I'll have to do it that way - I was merely curious if there was a 'clever' WD command that would do it for me. No worries, Thanksby Robin Lane - WinDev Forum
Hi All, In my application I have the exe version being displayed and it is working well. What I would like to have is the ability to know if any patches are installed. I cannot see any WD commands to do this automatically, and before I code something to look through the exe directory for files beginning with "patch," and work out the number and date of the latest one I wondereby Robin Lane - WinDev Forum