I'm creating a DLL that returns a string when called.
This appears to work fine, but the documentation I have says that the memory for the returned string needs to be freed after I have called...
Type: Posts; User: seanyboy
I'm creating a DLL that returns a string when called.
This appears to work fine, but the documentation I have says that the memory for the returned string needs to be freed after I have called...
I use ChatGPT on occasion - Here's some things it's been useful for.
1. Asking it for a high level specification of a business process. It'll break out general structure, make a reasonable guess...
No. I assume that they have RESTFul API's now, but I've no memory of making that post or what it was for!
See attached Code.
SearchArray returns the correct values (in the example, -1,-1,0), but depending on the dataflex runtime version, procedure_return only fires on the first call, or it doesn't...
Hi Peter - did you ever find a solution to this?
It would be very useful to be able to change component properties inside a report without using a parameter and a code block.
Just being able to set a component as visible/not visible based on...
My recommendation is to log to a file, and use "tail.exe" to view the output.
tail.exe can be installed with command line git.
This is how I do all program output, and as well as colored output...
Figured it.
USDA FSIS website is possibly doing some tests to ensure the browser is valid.
If I pretend to be a real browser, it works.
:-(
Hi - I'm trying to download a file from the USDA website.
This downloads fine in a browser, but using Dataflex, it times out. (See attached code)
Any suggestions as to why this would be?
...
External_Function WNetAddConnection2 "WNetAddConnection2A" mpr.dll Pointer lpNetResource Pointer sPassword Pointer sUsername DWord dwFlags Returns Integer
Define ForceDisconnect for 1
Define...
I made you a video. I have a cold at the moment so no commenting on how nasal I sound.
https://drive.google.com/file/d/1FWziC6ABozqLGQrImvA1RxegDU88NNAV/view
100% use SQL if you can for this, but if you can't then ...
Function StrToFileNumber String sFile Returns Integer
Integer hTable
String sFileListFileName
...
This absolutely is a PITA.
1. If you can persuade your company not to send bulk emails using Office 365, then do it. I can't stress this strongly enough. O365 has limits on numbers of emails you...
I had to write some emailing code for a small automated Python task, and I got GitHub Copilot to help. It probably made the job about 50-75% faster. AI's here, and it's useful.
One worry is that...
I thought this was maybe caused by my video card, but I've updated the video card and I'm still seeing the same issue. Both cards were GEForce cards, so it may be a driver / chipset issue. When I...
In Dataflex reports (v20, & v21), design view, the background below a report flickers if you click drag on it. This behaviour started with Microsoft Windows 11.
See linked video.
click drag...
That's really not how you should post JSON, so this isn't your fault.
Try this - can't promise it works, but :
1) Add a Form Type Content Header
Get AddHeader "CONTENT-TYPE"...
Hi Boris - The next step is to use Postman to manually create your POST and see if you get the same error.
https://www.postman.com/
We use https://webhook.site/ site to double check POSTed data is in the correct format.
It looks like it may be fixed in DF2021, which is good news.
https://docs.dataaccess.com/dataflexhelp/mergedProjects/Welcome/DataFlex_2021_Update_Release_Notes.htm
Ok - I'm not sure what to do with this, or if it's even a bug, but one of our customers has reported that our web service is not compatible with a method called PostAsJSONAsync.
This is a...
Thanks Vincent - deregistering the OCX worked.
I am unable to install dataflex reports 6.2 When I try and do this, I get the following error (See screenshot)
"The DataFlex Reports 2018 Developer Edition - 6.2 setup program has found a...
Auditing is an absolute bane, but there are a couple of techniques we have used / considered with MSSQL based database.
1. Rather than manually enter the triggers, or have them in a .SQL file, we...
It looks like "Keep Group together" has changed between 8.0.1 and 8.1 with groups > 1 page in length. Unfortunately this has introduced an error where if you also have "Repeat Group Header on each...