473,626 Members | 3,974 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Report error - Operand without an operator

7 New Member
Hi - I am completely new to access - this is my first project and I have a question that is probably extremely easy for most.

I am trying to take two fields of information and combine them in to one field on a report. I have the following code in the Control Source:
=[tblAdmittingNur se.First Name]&” “&[tblAdmittingNur se.Last Name]
I receive the error "You may have entered an operand without an operator"
What am I missing? From everything I have looked at, it seems like it should work.

Thanks for any help you can give me.
Feb 27 '08 #1
4 6003
ADezii
8,834 Recognized Expert Expert
Hi - I am completely new to access - this is my first project and I have a question that is probably extremely easy for most.

I am trying to take two fields of information and combine them in to one field on a report. I have the following code in the Control Source:
=[tblAdmittingNur se.First Name]&” “&[tblAdmittingNur se.Last Name]
I receive the error "You may have entered an operand without an operator"
What am I missing? From everything I have looked at, it seems like it should work.

Thanks for any help you can give me.
'It seems as though you are directly referring to Table Values, you must explicitly reference the the Control names on the Report itself as in:
Expand|Select|Wrap|Line Numbers
  1. =[txtFirst Name]  & ” “ & [txtLast Name]
Feb 27 '08 #2
Light1
7 New Member
'It seems as though you are directly referring to Table Values, you must explicitly reference the the Control names on the Report itself as in:
Expand|Select|Wrap|Line Numbers
  1. =[txtFirst Name]  & ” “ & [txtLast Name]
It worked. Thank you - I really appreciate your quick response.
Feb 27 '08 #3
NeoPa
32,567 Recognized Expert Moderator MVP
Be careful.
It seems you are using a word processor (like MS Word) to create your code. SQL will not recognise the double-quotes used (” & “). It only recognises (' & "), and the (") are only recognised in Jet SQL (See Quotes (') and Double-Quotes (") - Where and When to use them).
Feb 28 '08 #4
ADezii
8,834 Recognized Expert Expert
It worked. Thank you - I really appreciate your quick response.
Glad to be able to help you out.
Feb 28 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2103
by: DarkSpy | last post by:
g++ 3.2.x and g++ 3.3 have this bug: class A{}; main() { sizeof(A()); } got error message: ISO C++ forbids applying `sizeof' to a function type
6
12529
by: c++newbie | last post by:
Hi all, I try to compile the following classes: main.cpp: #include <algorithm> #include <iostream> #include <fstream> #include <iterator>
2
4448
by: linq936 | last post by:
Hi, I have this piece code, struct TriStr { MyString str1; MyString str2; MyString str3; TriStr(MyString s1, MyString s2, MyString s3){ this->str1 = s1;
3
4666
by: Scott | last post by:
I need to take the median from a field of records in a report. Can someone shed the light how to do it. Thanks, Scott
6
13704
by: Angus | last post by:
I am using a global which is a void* I have it defined in one file as: void* hFlag; and one other header file as: extern void* hFlag; But I get this compile error:
19
2494
by: Rajesh S R | last post by:
Consider the following code: int main() { struct name { long a; int b; long c; }s={3,4,5},*p; p=&s;
7
5040
by: somenath | last post by:
Hi All, I am trying to undestand "Type Conversions" from K&R book.I am not able to understand the bellow mentioned text "Conversion rules are more complicated when unsigned operands are involved. The problem is that comparisons between signed and unsigned values are machine- dependent, because they depend on the sizes of the various integer types. For example, suppose that int is 16 bits
6
1882
by: captainmorgan | last post by:
I have attempted to use the following IIF statement in a query, with no success. Iif(="580" OR "585", Iif(Month()=Month(Now()), =+40), Iif(Month()=Month(Now()), =+100) Iif(Month()=Month(Now()),=+100)) I tried to include a field in my query name Charge using the, Charge:Iif(...code above...) Method, but I get the following error;
63
3869
by: Kapteyn's Star | last post by:
Hi newsgroup The program here given is refused by GCC with a error i cannot understand. It says rnd00.c: In function ‘main’: rnd00.c:26: error: expected expression before ‘]’ token How to make it compile? I also tried buf but that gives "segmentation fault". Thanks in advanced.
0
8266
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8705
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8638
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8365
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4092
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.