I read that it could be caused by having a memo field so I changed it to text 255 chars. That worked and the names are now displayed correctly.
One further thing, how can i then randomise the results?
I used the following in one query that worked.
Rnd(Int(Now()*Hymn.hymn_no)-Now()*hymn_no)...
Hi
I have two tables [Hymn] and [Hymn_usage] and I want to select only the hymns that have a hymn_usage_date of 90 days or more, but also haven't been used within the last 90 days.
The problem is - while the query works by selecting only hymns greater than 90 days - a hymn can also appear more...
Hi
So i've spent the last few days working on a DB re-design.
My main purpose was to be able to get the hymn usage data and check that a hymn hadn't been selected within the last 60 days.
The Combo181 [AM1] on my main [Order of Service Form] has a query that pulls the hymn numbers from the...
Hi
id AutoNumber
service_date date
AM_PM Time 'switch', Yes/No field, needs a better name
led_by text field. person's name
notices text field. person reading the notices
childrens_talk text field. person's name.
prayer_list memo field.
sermon_title...
Hi guys
Thanks for the replies. It has become apparent that my DB structure needs to be put right so I can do this properly. I am going to bite the bullet and redo it all.
Could you give me a few hints please?
I currently have two tables. Could you help putting this into a proper...
Thank you for this. And yes, you are right, my DB needs to be structured properly. I just couldn't get it to work when I tried using a link table. Anyhow, I'm sorry I didn't make this clear in my post. I actually want the hymn list to include the hymn that was in a service less than 60 days ago...
Hi
I am a Pastor of a church and have a database that I am creating to help me plan services much more quickly.
I have a small Access 2002 DB that generates an 'order of service' report each week.
I enter 4 hymns for the AM service and 4 hymns for the PM service (in the same service_id record...
I have the following that calculates and displays the result in an html input form field called payment_amount
<input type="button" class="input-calc" name="plus2" value="Calculate Deposit"
onClick="document.calc2.payment_amount.value =
parseFloat((document.calc2.total_cost.value) -...
I am doing this on a small intranet
$current_page = $_SERVER['REQUEST_URI'];
This brings back something like: /dir/page.php
But can also bring back: /dir/order.php?order_id=3456
Which is fine but how can I limit the url string to just the file name without the directory and without any...
Just been tweaking it and go this to work:
<?
$default_country = 'United Kingdom';
$query_country = "SELECT * FROM country";
$result_country = mysql_query($query_country) or die (mysql_error());
echo "<select name = country>";
while ($row2 = mysql_fetch_array($result_country))...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.