Our November Competition
User Reviews - Add Yours!
The PCHF Lounge
Go Back   PC Help Forum » Software » General Software
Register for a Free Account

General Software - Access 2007 posted in the Software forums; Hi There. I struggled the past couple of days with the following problem. I have set up a database in access, to store the GI values and food breakdown of ...


Reply
Recommended Driver Scanner
Old 07-11-2009   #1
New Poster
 
Mini-me's Avatar
 
Join Date: Jul 2009
Posts: 1
PC Experience: Some Experience
Default Access 2007

Hi There. I struggled the past couple of days with the following problem. I have set up a database in access, to store the GI values and food breakdown of basic foods. I want to work out the GL value of the food... fairly simple in Excel etc. to do. The basic formula is: GI value / 100 x the Carbs (whether per portion/100g etc) So now in my GL colom, I tried building the expression: GL: [GI] / 100 * [Carbs] (Obviously thinking that Access will take the info i placed in the GI colom, devide it into 100 and muiltiplying it with the number entered under carbs) But i haven't gotten any success with in, it keeps on saying: "The expression you entered contains invalid syntax" and underneath "You may have entered an operand without an operator". Just some other notes: I have made the data types "Number" fields under Data Type. There is already values in, in my table, under "GI" and under "Carbs", so I don't understand why it cannot use the info entered and work out the expressions. Sigh.
Mini-me is offline   Reply With Quote
Advertisement - Register to Remove
Old 07-11-2009   #2
Mod Team Leader
 
smokeycheech's Avatar
 
Join Date: Dec 2005
Location: Skynet HQ (kinda near PCHF bunker)
Posts: 2,189
PC Experience: Learning more every day!
Default Re: Access 2007

Hello Mini-me! Welcome to PCHF!

We have a fantastic team of techs here as well as a very knowledgeable member community and I am sure we will be able to help you

I will mark your thread as open and someone will be with you as soon as possible who is familiar with that software, thank you for your patience.

Regards,

Smokeycheech
__________________
If an elephant never forgets, how come they never win mastermind?
smokeycheech is offline   Reply With Quote
Old 07-12-2009   #3
Tech Support Team
 
elpmek's Avatar
 
Join Date: Feb 2006
Location: Gloucestershire
Posts: 2,723
PC Experience: Experienced
Default Re: Access 2007

Set up a table called GI with fields GI & CARB.

In a query built the following expression:

[gi]![GI] *100/ [gi]![CARB]

Everything works!
__________________
elpmek is offline   Reply With Quote

Reply


Bookmarks

Tags
2007, access, Open:, Pending:
Similar discussions...
Thread Thread Starter Forum Replies Last Post
Access 2007 form chemopp Programming 10 07-30-2009 02:15 AM
Answered: Help Please, access 2007 Jun Office Software 3 06-15-2009 07:39 PM
Answered: Access 2007 Smoke58 Office Software 2 03-21-2009 02:55 PM
Access 2007 HELP Bowtieboy Office Software 4 12-04-2008 02:37 PM
Access 2007 help please kaylouise Windows XP/2000 1 09-03-2008 08:35 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On




All times are GMT. The time now is 05:53 AM.
Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2