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

Joined: 21 Feb 2010 Posts: 19
|
Posted: Sun Feb 21, 2010 9:27 am Post subject: Read data from fields with SQL |
|
|
Hi
i am very new with the use of the OO.
I found a way to specify parameters in a SQL command
SELECT "bla" FROM "X" WHERE "Name" = :TextBox
But i also need to know if exist a way to read the data from the current field and with SQL
THX in advance |
|
| Back to top |
|
 |
Sliderule Super User


Joined: 29 May 2004 Posts: 2474 Location: 3rd Rock From The Sun
|
Posted: Sun Feb 21, 2010 10:02 am Post subject: |
|
|
arfgh:
You asked:
| arfgh wrote: | | But i also need to know if exist a way to read the data from the current field and with SQL |
I have no idea what you are talking about.
Can you please give an example of what you mean?
Sliderule |
|
| Back to top |
|
 |
arfgh General User

Joined: 21 Feb 2010 Posts: 19
|
Posted: Mon Feb 22, 2010 3:18 am Post subject: |
|
|
| i mean that i want to read the content of a textbox in a form made with base. And i want to do it with a sql command. |
|
| Back to top |
|
 |
Sliderule Super User


Joined: 29 May 2004 Posts: 2474 Location: 3rd Rock From The Sun
|
Posted: Mon Feb 22, 2010 7:15 am Post subject: |
|
|
Since you want to get data from a form ( what you were asking was not at all clear from your first post ) . . . after a forum search . . .
http://www.oooforum.org/forum/viewtopic.phtml?t=74097&highlight=textbox+form+sql
Perhaps others will have some advise.
I hope this helps, please be sure to let me / us know.
Sliderule
Thanks to add [Solved] in your first post title ( edit button ) if your issue has been fixed / resolved. |
|
| Back to top |
|
 |
arfgh General User

Joined: 21 Feb 2010 Posts: 19
|
Posted: Mon Feb 22, 2010 10:40 am Post subject: |
|
|
This probably works, but... Cant be done without macros ?. I mean if can be done the same with a sql commad that i can insert in a SubForm for example.
I repeat that i am very new with the use of OO. |
|
| Back to top |
|
 |
RPG Super User

Joined: 24 Apr 2008 Posts: 2696 Location: Apeldoorn, Netherland
|
Posted: Mon Feb 22, 2010 2:11 pm Post subject: |
|
|
Hello
| arfgh wrote: | | I repeat that i am very new with the use of OO. |
There you are new it is better to read for some weeks the post on this forum. Also it can be good to understand how to search this forum for author who already did have answer your questions. I think read posts of Villeroy and search for examples of Villeroy on a forum.
Romke |
|
| Back to top |
|
 |
arfgh General User

Joined: 21 Feb 2010 Posts: 19
|
Posted: Wed Feb 24, 2010 6:32 am Post subject: |
|
|
I repeat the question
This probably works, but... Cant be done without macros ?. I mean if can be done the same with a sql commad that i can insert in a SubForm for example. |
|
| Back to top |
|
 |
|