[Gambas-user] A postregres question re points

richard terry rterry at ...1946...
Fri Apr 24 16:26:15 CEST 2009


Probably off-gambas topic but, I want to be able to store x-y co-ordinates

e.g:

create table defaults.temp
(pk serial primary key,
 xy  point
 );
insert into defaults.temp(xy) values (point(1,1));

I can retreive a result as -  select * from defaults.temp;

which  gives (1,1)

Now I'm stuck knowing how to put this into a variablee in gambas.

Any help appreciated.

Richard




More information about the User mailing list