Just wondering if anyone has played around with this before. (Many apologies if this has been asked before)
Hypothetical example.
I have one pc licensed correctly, connecting to a database.
I have a piece of progress code on that pc which accepts incoming tcp information using winsock...
Ah nice Osborne thanks, i hadn't seen that. Just frustrating that with that option not switched on, it appears to be doing it as per the screenshot.
Moved everything now and added the DB references. Just thought it was weird!
so if you then connect another database thinking hey, its used db prefix all is fine.
"Unknown/ambiguous error"
if you then check the w code using proc editor its actually done
DEFINE TEMP-TABLE ttarea NO-UNDO LIKE area.
Yeah i understand that, but for example.
Define temp-table ttcustomer like database.customer.
If you define that via appbuilder it shows the database prefix on the "like" side of the argument, but when it actually writes the code it ignores it.
If you define a temp-table in here with only one database connected at the time, it shows in temp-table manager with a database prefix. EG Database.Tablename.
When it writes the code to the definitions section, it however doesn't include the database name. (Grr)
This is frustrating and...
You could go all hard core.
def var ctable as char.
def var cfield as char init "customercode". /* YOUR FIELD HERE*/
def var cvalue as char init "turncarl". /* Your value here */
def var cdir as char init "C:/newfolder/". /* Some empty folder path here */
def var cFile as char.
def var...
No, you can stick that anywhere. It will just force all browsers in the frame to refresh.
I am using appbuilder but this should apply just the same.
In the display statement put
enable table1.field1 table1.field2
heres my example that displays 7 fields in the browse and enables two of them...
Yeah definitely needs to be a nice way through ABL to identify who has a record locked. Possibly a "lock" object.
That'd be great.
11.5.1 is in the queue to fix some web speed issues. Just had so many upgrades recently i want some stability. User base flipped out when all the selection rows on...
Oh okay. I jumped from 11.3 to 11.5 so only noticed it in 11.5.
Never used this in deployed code, only tools.
TheMadDBA - _Connect.Connect-PID ?
Im just digging myself deeper now.
Pretty off topic but did anyone else who used the _Lock table have to rewrite bits of code for 11.5? They changed how the _lock table was sequenced and it screwed all my optimisation/Debug tools.
Gits.
I did similar using bits of the above code. Just put it in a browse trigger.
Example on 'Return', get the value of the selected row/ column as per above code.
then do your populate temp-table code to create the data (Make sure you dont over-write the fake temp-table record thats acting as your...
The above should work.
What i think you want to do is edit an internal cell of a browser, and when you hit a key it uses the value you inputted to create a temp-table and refresh the browse query?
What version of progress are you using? Looks version 9 from the code, and CHUI.
This might help but not sure if it works in a character enviroment. Would definitely work in GUI.
(Returns the value of "InputColumnHeader" in the selected row of the browser).
DEFINE VARIABLE hquery...
Hey Debbie,
Below works for me in 11.5. I dont currently have a 9.1C editor available but its probably the same.
def var hExcel as com-handle.
def var hworkbook as com-handle.
def var hworksheet as com-handle.
def var hpagesetup as com-handle.
def var ddec as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.