Discussion:
Archive
Mr. Bart Pietercil
2006-09-14 13:19:19 UTC
Permalink
Hi Listmembers,

I just bought Aliactas postgres plugin and I'm having some problems.

However before posting the questions is there a mail archive I can
look through.

tia

Bart
Aliacta Support
2006-09-14 13:42:49 UTC
Permalink
Hi Bart,

There's no archive. Just shoot.

Cheers,

Marc
Post by Mr. Bart Pietercil
Hi Listmembers,
I just bought Aliactas postgres plugin and I'm having some problems.
However before posting the questions is there a mail archive I can
look through.
tia
Bart
_______________________________________________
Postgresql mailing list
http://aliacta.com/mailman/listinfo/postgresql_aliacta.com
Mr. Bart Pietercil
2006-09-14 14:22:48 UTC
Permalink
Hi Mark,

here it comes:

1) (wich might be the source of all the problems)
When going through the manual (building the gui client) I create a
new class DBSocket(mySocket in the manual). There I need to set its
Super to pgSQLcoreSocket. I can't find a way to do this (except by
typing in the Super field). When I click to select in the Super
field, the pgSQLcoreSocket is not listed. This is not a problem when
creating the simpleCache.
As I said I can type in the Super field the string pgSQLcoreSocket
and this seems to work. When I refer to mySocket in the code I can
"BindLog" , however when I run I get:
DBSocket.Constructor: me.Autobeep This method or property does not exist

TIA

Bart
Aliacta Support
2006-09-14 14:41:09 UTC
Permalink
Post by Mr. Bart Pietercil
As I said I can type in the Super field the string pgSQLcoreSocket
and this seems to work.
Typing the name in the Super field is a normal way to do this in RB,
nothing wrong with that.
Post by Mr. Bart Pietercil
When I refer to mySocket in the code I can
DBSocket.Constructor: me.Autobeep This method or property does not exist
Did you literally type "me.Autobeep = True" ? (Just ruling out
syntax as the culprit.)

An alternative notation would be:

super.AutoBeep = True

If I remember correctly at the time I made the tutorial I used RB
2006 r1. Maybe there are some small differences with r3--in case a
syntax error is ruled out. I remember at some point RS overhauled
"Self" and "Me" but don't know if this would be related.

(Maybe after you run, save, close, and re-open the project, it'll
work. Used to be a solution to a problem in the RB 5.5 era but don't
get your hopes up.)

Please let me know how it turns out,

Marc
Mr. Bart Pietercil
2006-09-14 15:41:06 UTC
Permalink
OH <insert appropriate terms here>

Problem solved. Had nothing to do with what I reported. Strange the
debugger complained on me.Autobeep of the socket class....
What I have done , instead off inserting (in the logwindow) a
pgSQLlistboxLog I inserted a pgSQLlistbox(no log)

I closed and reopened the project and now the debugger started
complaining at the correct error (no bindlog on a listbox)

Once that cleared, it compiled just fine

oh well, let's call it a beginners mistake

Thx

Bart
Post by Aliacta Support
Post by Mr. Bart Pietercil
As I said I can type in the Super field the string pgSQLcoreSocket
and this seems to work.
Typing the name in the Super field is a normal way to do this in RB,
nothing wrong with that.
Post by Mr. Bart Pietercil
When I refer to mySocket in the code I can
DBSocket.Constructor: me.Autobeep This method or property does not exist
Did you literally type "me.Autobeep = True" ? (Just ruling out
syntax as the culprit.)
super.AutoBeep = True
If I remember correctly at the time I made the tutorial I used RB
2006 r1. Maybe there are some small differences with r3--in case a
syntax error is ruled out. I remember at some point RS overhauled
"Self" and "Me" but don't know if this would be related.
(Maybe after you run, save, close, and re-open the project, it'll
work. Used to be a solution to a problem in the RB 5.5 era but don't
get your hopes up.)
Please let me know how it turns out,
Marc
_______________________________________________
Postgresql mailing list
http://aliacta.com/mailman/listinfo/postgresql_aliacta.com
Loading...