r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL2 Releases] Discuss 2.x releases

BrianH
9-Sep-2008
[328]
You should also consider having them use SQL Server 2008 Express 
instead of Access for the database portion, though you still have 
to be careful about datatype translation if you are still using Access 
as a front-end, even 2007.
Graham
9-Sep-2008
[329]
sqlab, how did your odbc wrapper work?
james_nak
9-Sep-2008
[330]
Thanks Brian. I forgot about Express. If I can convince them to let 
me do a complete Rebol app I would do that. : )
BrianH
9-Sep-2008
[331x2]
Express 2008 came out last month, even the advanced versions. I have 
used the client-side tools and they are nice, and have read good 
things about the server-side improvements. The new report generation 
tool is purported to have its UI based on the Access 2007 style, 
though I haven't played with it yet.
I can say without hesitation that the Access 2007 user interface 
is drastically better (though its engine needs replacing).
james_nak
10-Sep-2008
[333]
Thanks and this project is pretty basic. It's more along the lines 
of a task management system. Right now they do it with some fairly 
bulky spreadsheets. Thanks for the tip.
sqlab
11-Sep-2008
[334]
Graham, you use the wrapper like this

do %odbc-lib.r
db: sql/open "DSN" "user" "pass"
sql/exec db "select * from your_table"
while [not empty? row:  sql/fetch db] [probe row]
sql/close   db


I used my own routines of calling the odbc.dll, because of some glitches 
with RT's implementation and some databases.
Graham
11-Sep-2008
[335]
Interesting.  And this works on Linux as well?
sqlab
11-Sep-2008
[336]
I never tried it, but I sent it to someone and he wrote, that it 
was working. Of course you have to load .so instead of .dll.
Anton
16-Sep-2008
[337]
Accessing ODBC data sources with Core and View

http://anton.wildit.net.au/rebol/doc/translated/AccessODBC/odbcsockserv_english.html
GiuseppeC
20-Sep-2008
[338]
I have linked the Article in R2 Wiki but the link to Gavin F.McKenzie 
parse http://www3.sympatico.ca/gavinis not working.
PeterWood
20-Sep-2008
[339]
I think you'll find it here http://www.rebol.org/view-script.r?script=xml-parse.r&sid=ij461ww
GiuseppeC
25-Sep-2008
[340]
The original article should be fixed and the link changed.
Graham
25-Sep-2008
[341]
sqlab  - any luck finding your odbc-lib.r ?
sqlab
26-Sep-2008
[342]
I sent it already to James_Nak two weeks ago. 
Since then it did not hear anything
Graham
26-Sep-2008
[343x2]
Would you send me a copy too?
I've been using WINE to get ODBC working on Linux .. not very satisfactory 
due to WINE bugs.
sqlab
26-Sep-2008
[345]
It's on the way to you.
But there are some years gone, since I used it the last time.
Graham
26-Sep-2008
[346]
Thanks
james_nak
26-Sep-2008
[347x2]
Yes, sqlab and Graham, I haven't had the chance to start my testing. 
I have to wait for weekends and the last two have been swamped.
Sqlab, OK, I gave your odbc-lib a shot. So far so good. Thanks. I'll 
be doing some more testing over the weekend. If you know of any quirks, 
please let me know. I'm pretty much an "insert" and "Select" SQL 
guy so it should be fine. Thanks again.
Brock
26-Sep-2008
[349]
sqlab - can I get a copy of your ODBC-lib as well?  The email address 
inmy profie is valid.
sqlab
29-Sep-2008
[350]
on the way
james_nak
7-Oct-2008
[351]
Does anyone know how the 2.7 SDK is distributed to previous SDK owners?
Henrik
7-Oct-2008
[352x2]
Aren't you able to freely download the latest SDK binaries?
From the same directory as the ordinary binaries from rebol.net
james_nak
7-Oct-2008
[354x2]
You know I thought I saw that but this morning I went to the main 
site and that's pretty much the same as it always has been.
Thanks. I'll take a look.
Henrik, thanks. There she was!
james_nak
9-Oct-2008
[356]
Is it possible to hide a button that is the button one just pressed? 
my_button: btn "test" [hide my_button]
Pekr
9-Oct-2008
[357]
it is probably better to not hide the button, but to disable it. 
You can find enable/disable script on rebol.org ....
james_nak
9-Oct-2008
[358]
Thanks Pekr
Gregg
9-Oct-2008
[359]
You have to be a ltitle tricky to hide it James, because it wants 
to redraw when you release the mouse button. In the past, I've set 
up a central handler and states to control what is shown, then your 
action just sets the state you want and the button will be hidden 
on the next pass (timer event).
james_nak
9-Oct-2008
[360]
Thanks Gregg, that is tricky. Well, it wasn't a super important item 
so I ended up using the enable/disable. Thanks anyway.
Anton
9-Oct-2008
[361]
http://anton.wildit.net.au/rebol/gui/self-hider-btn.r
james_nak
10-Oct-2008
[362]
Even Better. Thanks Anton. You sure make some cool stuff.
Anton
10-Oct-2008
[363]
Thankyou James.
james_nak
23-Oct-2008
[364]
Has anyone ever seen the "Call" word not work? I've been trying to 
simply call %/c/rebol/view.exe and it shows up in task manager but 
I never see the application. It's not just that particular app either. 
The funny thing is I was successful doing that at my work computer.
Graham
23-Oct-2008
[365x2]
yes
try one of the options like call/show
james_nak
23-Oct-2008
[367x2]
Any idea why?
OK.
Graham
23-Oct-2008
[369]
bug
james_nak
23-Oct-2008
[370]
Good idea Doc. That worked.
Gregg
23-Oct-2008
[371]
The show option, and hiding the shell window by default, was a change 
in new releases.
james_nak
23-Oct-2008
[372]
But if I'm not mistaken, you can't stop the shell window from flashing. 
The problem I was having was that the program I was calling wasn't 
showing up at all.
BrianH
23-Oct-2008
[373]
Q: "Any idea why?" call/show

A: Most of the time call is used to run background processes, and 
REBOL <= 2.7.6 did not give you the option, always flashing that 
shell window. Starting with 2.7.7 the called app (and the shell window) 
is not shown by default.
Graham
24-Oct-2008
[374x2]
I was the first to report this problem
See posts from the 21-Mar-2008 and we talk about call, call/show 
and call/shell
amacleod
24-Oct-2008
[376]
Is 2.7.7 released?
BrianH
24-Oct-2008
[377]
No, and work on it has barely started. We will have a public development 
release of the new R3 GUI first.