Results 1 to 5 of 5
  1. #1
    lexygirl is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2011
    Posts
    8

    booking rate as a field combo box doesnt show data

    I have a field booking rate that is set up the following way

    Booking Rate

    combo box - value list

    $200.00 Flight Experience
    $175.00 Training Dual
    $135.00 Training Solo etc

    the first column is bound to the table

    I have a parameter form which i enter instructor name, start date and stop date. Then i run a command button to view the form (query is control source)



    In this query I have booking rate as i want to view it and then do calculations on it

    gst: [booking rate] * .10
    total value: [booking rate] + [gst]

    when i run the command button to view the form it asks me to enter the booking rate though there is already a value in the table, when i don't enter a value and hit ok no data appears in all the fields on the form.

    When i run the query i still get asked to enter the booking rate and when i dont and I enter the other three fields records are shown...

    Why can i not see the booking rate and why don't my calucations work.

    I have attached the objects in question in a database for viewing

    Any help would be greatly appreciated

    Thanks

    Lia

  2. #2
    Toyman is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    233
    Quote Originally Posted by lexygirl View Post
    I have a field booking rate that is set up the following way

    Booking Rate

    combo box - value list

    $200.00 Flight Experience
    $175.00 Training Dual
    $135.00 Training Solo etc

    the first column is bound to the table

    I have a parameter form which i enter instructor name, start date and stop date. Then i run a command button to view the form (query is control source)

    In this query I have booking rate as i want to view it and then do calculations on it

    gst: [booking rate] * .10
    total value: [booking rate] + [gst]

    when i run the command button to view the form it asks me to enter the booking rate though there is already a value in the table, when i don't enter a value and hit ok no data appears in all the fields on the form.

    When i run the query i still get asked to enter the booking rate and when i dont and I enter the other three fields records are shown...

    Why can i not see the booking rate and why don't my calucations work.

    I have attached the objects in question in a database for viewing

    Any help would be greatly appreciated

    Thanks

    Lia
    The [booking rate] field in your table actually has two spaces between the two words. In your query, there is only one space between the two words. With that said, always try to avoid having spaces or characters (&%^#-) except underscores "_" between two words when naming db objects. You can run into problems such as in your case. Try using underscores to connect two word or using caps for the first letter in each words. Example: "BookingRate" or "Booking_Rate"

  3. #3
    lexygirl is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2011
    Posts
    8
    thanks so much for the reply, I'll put underscores in form now on.... should have realised it would be something like that.

    My query now works on its own, but when i call the form that the query runs off, no records are shown, yet the query shows records when it is run on its own.

    Any thoughts

    Thanks Lia

  4. #4
    lexygirl is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2011
    Posts
    8
    i worked it out i put data entry to no and my records showed on the form. Not sure why i had to do this but on all other forms i didn't have to change the data entry.

    thanks
    lia

  5. #5
    Toyman is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    233
    Quote Originally Posted by lexygirl View Post
    i worked it out i put data entry to no and my records showed on the form. Not sure why i had to do this but on all other forms i didn't have to change the data entry.

    thanks
    lia
    When you form is set to data entry, it is just that; the form will be used for data entry and no records will be shown

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Show label on report only if data in field
    By senna in forum Reports
    Replies: 1
    Last Post: 01-31-2011, 06:11 AM
  2. Rate my schema
    By Hypotenuse in forum Database Design
    Replies: 7
    Last Post: 01-29-2011, 01:20 PM
  3. Date range to determine rate
    By KevinMCB in forum Queries
    Replies: 5
    Last Post: 01-18-2011, 08:41 AM
  4. Can't get new field to show in my data entry form
    By Suzie in forum Database Design
    Replies: 19
    Last Post: 12-21-2009, 03:48 PM
  5. Data won't show up in table field
    By texzen123 in forum Forms
    Replies: 3
    Last Post: 11-26-2009, 11:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums