The equivalent of GO is simply calling SQLExecute each time for the statements prior to the GO. It's a way of grouping statements to be executed together/separating statements that need to be...
Type: Posts; User: matthewd
The equivalent of GO is simply calling SQLExecute each time for the statements prior to the GO. It's a way of grouping statements to be executed together/separating statements that need to be...
Our (now unsupported) ActiveX control we use for working with PDFs was falling short in one area: customers were getting documents with crazy sizes like 38" x 50" and the ActiveX just couldn't deal...
The latest approach I use is to create a function that does the necessary calculations using the parameters passed and returns the result. Then I create a procedure assigned as the field_exit_msg...
I compared to our code and it's similar to yours. It works... The only small difference is user/pw is stored in a database table, so we have TRIM functions around them when calling...
Deleted duplicate post.
+1 (Although I called my event OnDialogActivated)
Also IIRC, CodeJock grids really prefer to be paged before you send InitializeData, so this is a good hook if you have a non-data aware CodeJock...
Henri,
I found a workaround for the HTTPS requirement for Chrome at least.
https://stackoverflow.com/questions/34215937/getusermedia-not-supported-in-chrome/34216154#34216154
It involves...
Just a guess...
Could it be a combination of Initial_Folder not handling a relative path like that and NoChangeDir_State being false (the default)?
I set NoChangeDir_State to true always, I...
If I'm understanding your problem correctly, I think it's easier if you put the logic to handle this in procedure update.
If all procedure backout does is subtract the time quantities from the...
Another idea: Subclass cJsonObject and add a StringToDataType function that does the ParseString/JsonToDataType. Then add a global singleton object based on this class so you can just do:
Get...
It sounds like you want to both switch databases and set SQL filters, I do not see any reason why including code to do both would not work, modeling the code after the techniques in the DataFlex...
As Samuel noted, you don't need to send the event OnSessionPropertiesSet. I don't know if this will help, but this is how I've implemented it so far. The currently selected tenant is stored in the...
Yeah, the example in the Round function documentation is broke:
This code:
Number nResult nMean
Move 10 to nMean
Move (3.14 * Round(nMean)) to nResult
Showln nResult
Perhaps this? I can't remember if I ever posted it and I can't find it myself on the forums.
Usage:
Send StartProcess to ghoPerfMon "Process 1"
Send StartProcess to ghoPerfMon "sub process...
Vincent,
I figured out this morning by looking at Procedure RequestLogout in the cWebSessionManager code that the web app needs to be restarted when the user changes to a different tenant (which...
I'm working on building a set of classes to handle multitenant apps based largely on the Learning Center video. One goal is not having to write any code at all when a new multi tenant project is...
What about code where an index into the array is calculated? Would a -1 index still append? This would be a change in behavior that might not (!) be desirable.
An error is triggered now,...
It seems like we had a crashing problem with File Open dialogs way back in the mists of time and I vaguely remember a connection to AV software.
Oh I agree it should, but if Data Access provides a solution it's going to be in the next release at best, more likely later than that.
We have to deal with the reality of being 2-3 versions...
If you have a custom error handler, you can manually preserve the call stack in situations like this. It's not perfect because it doesn't give you the actual line number that the error occurred, but...
My guess would be it is not going to work as they are not string replacements. What will work is if you name each parameter differently and give them the same value
You can see in the Studio if...
Ditto what Samuel said*. Another thing to take a look at is when columns are aliased, characters that aren't legal in DataFlex variable names may be used generating struct code that isn't going to...
When selecting the Query Tester menu option today, I get the following message:
Followed by a save as dialog titled "*.sql - Save Read Only File As". If I select a filename to save as, a new studio...
I found this explanation of prepared statements showing what going on behind the scenes:
...
One thing that might be nice to build into cSQLExecutor is an option (add a boolean property pbDisplayProgressPanel?) to display a generic progress panel (maybe let the programmer provide a label or...