| View previous topic :: View next topic |
| Author |
Message |
Verystumbed General User

Joined: 31 Dec 2005 Posts: 11
|
Posted: Wed Jan 25, 2006 5:00 pm Post subject: Excellent tutorial I have a working data base!! |
|
|
| Thanks Drew, I figured out my problem!!! |
|
| Back to top |
|
 |
cityguy Newbie

Joined: 03 Feb 2006 Posts: 3
|
Posted: Fri Feb 03, 2006 10:23 pm Post subject: |
|
|
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 |
|
 |
DrewJensen Super User


Joined: 06 Jul 2005 Posts: 2616 Location: Cumberland, MD
|
Posted: Fri Feb 03, 2006 10:34 pm Post subject: |
|
|
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 |
|
 |
cityguy Newbie

Joined: 03 Feb 2006 Posts: 3
|
Posted: Sat Feb 04, 2006 9:14 am Post subject: |
|
|
Thanks a lot. Now I can continue with the tutorial  |
|
| Back to top |
|
 |
brian4m OOo Enthusiast

Joined: 13 Feb 2006 Posts: 159 Location: Bath, England
|
Posted: Mon Feb 13, 2006 1:40 pm Post subject: |
|
|
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 |
|
 |
duanecu General User


Joined: 15 Feb 2006 Posts: 5 Location: South Bend, IN
|
Posted: Thu Mar 02, 2006 5:44 am Post subject: Could this be wiki'ed? |
|
|
| 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 |
|
 |
ynui_nz General User


Joined: 28 Feb 2006 Posts: 8 Location: Lower Hutt, Wellington, New Zealand
|
Posted: Sun Mar 05, 2006 3:20 am Post subject: |
|
|
Excellent tutorial great insight. gives me strong confidences that openoffice will meet my needs.  |
|
| Back to top |
|
 |
brian4m OOo Enthusiast

Joined: 13 Feb 2006 Posts: 159 Location: Bath, England
|
Posted: Sun Mar 05, 2006 12:37 pm Post subject: |
|
|
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 |
|
 |
orvilat Newbie

Joined: 08 Mar 2006 Posts: 1
|
Posted: Wed Mar 08, 2006 8:19 am Post subject: |
|
|
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 |
|
 |
JHalcrow General User

Joined: 15 May 2006 Posts: 22
|
Posted: Mon May 15, 2006 12:11 pm Post subject: List Boxes |
|
|
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 |
|
 |
r4zoli Super User

Joined: 17 May 2005 Posts: 570 Location: Budapest, Hungary
|
Posted: Wed May 17, 2006 1:55 am Post subject: |
|
|
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 |
|
 |
JHalcrow General User

Joined: 15 May 2006 Posts: 22
|
Posted: Wed May 17, 2006 10:38 am Post subject: Re List Box |
|
|
Thank you that was VERY helpful for an extreme beginner like me!
-Jen |
|
| Back to top |
|
 |
Steve_jo Newbie

Joined: 21 May 2006 Posts: 2
|
Posted: Sun May 21, 2006 12:07 pm Post subject: Syntax error in sql expression |
|
|
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 |
|
 |
Steve_jo Newbie

Joined: 21 May 2006 Posts: 2
|
Posted: Sun May 21, 2006 12:50 pm Post subject: Syntax error in sql expression |
|
|
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 |
|
 |
midnite_gin Newbie

Joined: 22 May 2006 Posts: 3
|
Posted: Mon May 22, 2006 3:06 pm Post subject: Great Thread...one question |
|
|
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 |
|
 |
|