![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||
|
Newbie
Join Date: Jun 2005
Location: London, England
Posts: 24
Rep Power: 0
![]() |
need some help with this code
Im doing this for a college project and im not very good at visual basic
![]() Im coding some bits in Access database just little validation rules and stuff but why wont this work? I think there is a problem in the first line of code but im not sure how else i can get it to function withthin these parameters. Here it is: Quote:
Quote:
![]() This coding is in a form btw with a subform
__________________
biggest NOOB ever :P |
||
|
|
|
|
|
#2 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Possibly you misspelled this?
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Jun 2005
Location: London, England
Posts: 24
Rep Power: 0
![]() |
Thanks for replying, i just checked and i have spelt it that way throughout the system so thats not where the error is.
I think i know what it is but i dont know how to get around it. Booking_Day and Bookings.Booking Session is in a subform and i dont know how to address it in the coding. I dont have the help files installed ![]()
__________________
biggest NOOB ever :P |
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Been a while since I did VB. If no one comes along with an answer in a few hours, I'll drop a suggestion from a faulty memory. I just wouldn't want to mislead you.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Jun 2005
Location: London, England
Posts: 24
Rep Power: 0
![]() |
Thank you, i appreciate your help. I don't mind if you give me a wrong solution, i will try it anyway
![]()
__________________
biggest NOOB ever :P |
|
|
|
|
|
#6 |
|
Hobbyist Programmer
Join Date: Dec 2005
Posts: 118
Rep Power: 0
![]() |
I haven't touched VB for years, but how is it you can have variable names with spaces in them? If those are variable names...
|
|
|
|
|
|
#7 |
|
Newbie
Join Date: Jun 2005
Location: London, England
Posts: 24
Rep Power: 0
![]() |
i know that but this is in access so its slightly different those variables are actually field names..
__________________
biggest NOOB ever :P |
|
|
|
|
|
#8 | |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,029
Rep Power: 5
![]() |
Quote:
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
|
#9 |
|
Newbie
Join Date: Jun 2005
Location: London, England
Posts: 24
Rep Power: 0
![]() |
Ok i shall try underscores but i don't think its the spaces that are causing the problem because i have other bits of code that work fine with the in
![]() Thank you very much for your help mate.
__________________
biggest NOOB ever :P |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|