OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Beginners - Example Database - Base Tutorial
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base
View previous topic :: View next topic  
Author Message
Verystumbed
General User
General User


Joined: 31 Dec 2005
Posts: 11

PostPosted: Wed Jan 25, 2006 5:00 pm    Post subject: Excellent tutorial I have a working data base!! Reply with quote

Thanks Drew, I figured out my problem!!!
Back to top
View user's profile Send private message
cityguy
Newbie
Newbie


Joined: 03 Feb 2006
Posts: 3

PostPosted: Fri Feb 03, 2006 10:23 pm    Post subject: Reply with quote

Hi, I m new into database. I was trying out the great tutorial can got into a problem.
I was changing the SQL statment SELECT "LastName", "FirstName", "MiddleName", "EmployeeID" FROM "Employees" "Employees" to SELECT "LastName" || ', ' || "FirstName" || ' ' || "MiddleName" AS "Name", "EmployeeID" FROM "Employees" "Employees"
and BASE just keep poping Syntax error in SQL expression parse error, expecting 'BETWEEN' or 'IN' or 'SQL_TOKEN_LIKE'. Can anyone help.[/img]
Back to top
View user's profile Send private message
DrewJensen
Super User
Super User


Joined: 06 Jul 2005
Posts: 2616
Location: Cumberland, MD

PostPosted: Fri Feb 03, 2006 10:34 pm    Post subject: Reply with quote

To use that query you must select 'Run SQL Direct'. To do this you select the toolbar button that has a green check mark over the letters SQL.

Drew
_________________
Blog - http://baseanswers.spaces.live.com/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cityguy
Newbie
Newbie


Joined: 03 Feb 2006
Posts: 3

PostPosted: Sat Feb 04, 2006 9:14 am    Post subject: Reply with quote

Thanks a lot. Now I can continue with the tutorial Very Happy
Back to top
View user's profile Send private message
brian4m
OOo Enthusiast
OOo Enthusiast


Joined: 13 Feb 2006
Posts: 159
Location: Bath, England

PostPosted: Mon Feb 13, 2006 1:40 pm    Post subject: Reply with quote

I have enjoyed working my way through the tutorial.
My problem is with the form. I can set it up correctly and can input data to it. The data appears in the relevant table so the form is working. When I try to return to the form, to make corrections, I cannot toggle the Design Mode On/Off button and, on the top line, there is Employees (read-only) OpenOffice.org Writer. I have deleted the form, re-created it with the same result.
I am using Version 2.0.0.
Any ideas of things to try please.

Brian


Last edited by brian4m on Sun Mar 05, 2006 12:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
duanecu
General User
General User


Joined: 15 Feb 2006
Posts: 5
Location: South Bend, IN

PostPosted: Thu Mar 02, 2006 5:44 am    Post subject: Could this be wiki'ed? Reply with quote

Is it possible to make this begining tutorial into a wiki somewhere? I found it very helpful, but I still don't understand a few of the finer points. It would be nice if we could all improve on this, and correct the grammer or factual errors, and also improve on the more illusive portions.
Back to top
View user's profile Send private message
ynui_nz
General User
General User


Joined: 28 Feb 2006
Posts: 8
Location: Lower Hutt, Wellington, New Zealand

PostPosted: Sun Mar 05, 2006 3:20 am    Post subject: Reply with quote

Excellent tutorial great insight. gives me strong confidences that openoffice will meet my needs. Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
brian4m
OOo Enthusiast
OOo Enthusiast


Joined: 13 Feb 2006
Posts: 159
Location: Bath, England

PostPosted: Sun Mar 05, 2006 12:37 pm    Post subject: Reply with quote

From another tutorial I got the answer to my problem - see 13 February 2006.

In the main database screen I highlighted the form, right clicked which opened a small window one of whose items was Edit. I clicked Edit and was able to edit the form. The nice thing was I was able to toggle the Design Mode Off/On button and trial the changes. I am now back on track to continue the tutorial.

Brian
Back to top
View user's profile Send private message
orvilat
Newbie
Newbie


Joined: 08 Mar 2006
Posts: 1

PostPosted: Wed Mar 08, 2006 8:19 am    Post subject: Reply with quote

Hi there,

found a solution for the problem posted in this tutorial see Thu Oct 13, 2005 12:36 pm

Quote:
Bring on the BLOB

...

If you have created your own, you don't need to download this. But if not and you want it, then grab it.

OK - before we go on one item It Does Not Work


To save a picture in a 1:1 related extra table one can add a command button within the sub form. Set the buttons action-property to "save data" and the picture BLOB is saved. You can do the same with external, 1:1 related notes.

orvilat

have a nice day
Back to top
View user's profile Send private message
JHalcrow
General User
General User


Joined: 15 May 2006
Posts: 22

PostPosted: Mon May 15, 2006 12:11 pm    Post subject: List Boxes Reply with quote

I am having a lot of difficulty creating a list box

Mentioned in the tutorial it said "So, the easy way is just always add a list box to a form, not change a control to a list box. OK then let's do it, add a list box control to the form. The List Box wizard opens"

I can't seem to find where you just add a list box???

Please Help

Jen
Back to top
View user's profile Send private message
r4zoli
Super User
Super User


Joined: 17 May 2005
Posts: 570
Location: Budapest, Hungary

PostPosted: Wed May 17, 2006 1:55 am    Post subject: Reply with quote

You activate View>toolbox>Form Control and on it click on listbox, and draw rectangle into form. You get a starting wizzard. If wizard not starting you must activate the most right side icon of Form control toolbox (new control wizard?- I'not sure in my translation from hungarian)
Zoltan
Back to top
View user's profile Send private message
JHalcrow
General User
General User


Joined: 15 May 2006
Posts: 22

PostPosted: Wed May 17, 2006 10:38 am    Post subject: Re List Box Reply with quote

Thank you that was VERY helpful for an extreme beginner like me!

-Jen
Back to top
View user's profile Send private message
Steve_jo
Newbie
Newbie


Joined: 21 May 2006
Posts: 2

PostPosted: Sun May 21, 2006 12:07 pm    Post subject: Syntax error in sql expression Reply with quote

Thanks for the tutorial - followed it for quite a while until the query bit

cut and pasted this in
SELECT CASE WHEN "MiddleName" <> '' THEN "LastName" || ', '|| "FirstName"||' '||SUBSTR( "MiddleName", 1, 1) ELSE "LastName" || ', '|| "FirstName" END AS "Name", "EmployeeID" FROM "Employees" "Employees"

but when I try to save the query i get

parse error, expecting 'BETWEEN' or ' IN' or SQL_TOKEN_Like

Obviously I'm missing something but I can't seem to see what it is.

Please does anyone have any ideas?

Thanks
Steve
Back to top
View user's profile Send private message
Steve_jo
Newbie
Newbie


Joined: 21 May 2006
Posts: 2

PostPosted: Sun May 21, 2006 12:50 pm    Post subject: Syntax error in sql expression Reply with quote

OK so I'm an idiot - a line or two later and there is the answer

Sorry for wasting the bandwidth
Steve
Back to top
View user's profile Send private message
midnite_gin
Newbie
Newbie


Joined: 22 May 2006
Posts: 3

PostPosted: Mon May 22, 2006 3:06 pm    Post subject: Great Thread...one question Reply with quote

Great thread, great tutorial - have really enjoyed working through it as a guide. but I keep running into one problem - the DB I am creating has a massive amount of fields (around 50) and there is no way to really get around it.

Once I create my tables and forms and get everything just the way I want it I save and exit. And when I open it up to start testing it out everything is out of place. Any ideas as to what is causing this and how I can avoid having it happen all together - And please don't say create a smaller form, I really don't have a choice - client's preference.
_________________
With regards,
Midnite_Gin
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base All times are GMT - 8 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 5 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group