473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Runtime error 3075

I recently created a database in Access 2000 that has been distributed to multiple people using various versions of Access. Each person is using it as a standalone database.

The database has multiple forms that collect information on individual people. In fact there are 5 forms per person. The first and second form write data to the same table. The VBA code below is what happens when the user continues to the second form to enter more data. A user who has Access 2003 receives a Runtime error 3075 - Syntax error (missing operator) in query expression 'Participant_Info.'. at this point. The last line of code is what is indicated to be the problem. However, I do not get that error when testing the database in Access 2000.

Can anyone provide a hint as to the possible problem?

Thanks!

Expand|Select|Wrap|Line Numbers
  1. Private Sub GoToEmpForm_Label_Click()
  2.     If IsNull(Me![SSN]) Or (Me![SSN]) = "" Then
  3.         MsgBox "Please select a SSN before proceeding!", vbOKOnly, "Invalid Search Criterion!"
  4.          Me!SSN.SetFocus
  5.     Exit Sub
  6.     ElseIf IsNull(Me!LWIA_Combo) Or Me!LWIA_Combo = "" Then
  7.         MsgBox "Please select a LWIA before proceeding!", vbOKOnly, "Missing Entry"
  8.     Exit Sub
  9.     ElseIf Nz(Me.WSOther, "") = "" And Me.WIA_Stat_Opt = 4 Then
  10.         Cancel = True
  11.         MsgBox "Please enter 'Other Adult' WIA Status", , "Missing Entry"
  12.         Me.WSOther.SetFocus
  13.     Exit Sub
  14.  
  15.     End If
  16. DoCmd.GoToRecord , , acNext
  17. DoCmd.GoToRecord , , acPrevious
  18. DoCmd.OpenForm "Emp_Info_frm", acNormal
  19.  
  20. End Sub
  21.  
Apr 25 '08 #1
1 2579
missinglinq
3,532 Expert 2GB
Since there's no reference to Participant_Info in the code here, and Access is erroring out on the line opening the form Emp_Info_frm, I'm going to guess that the problem is in the query that's the Record Source for this form. We need to see the SQL code for this query. The problem could be in a missing library on the v2003 machine that 's being referenced in the SQL.

Linq ;0)>
Apr 25 '08 #2

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

Similar topics

1
by: JMCN | last post by:
I have an ftp program that i inherited and i tried to modify it to ftp over my file however, i receive an error message : run-time error '3075 syntax error (missing operator) in query expression...
0
by: j.rogel | last post by:
Hello everyone! I am new to this sort of postings so I'm not even sure if this is the correct place to start. Anyway, I would realy appreciate any help. I have a some VBA code that works quite...
2
by: jr | last post by:
Hello everyone! I am new to this sort of postings so I'm not even sure if this is the correct place to start. Anyway, I would realy appreciate any help. I have a some VBA code that works quite...
1
by: praveen7576 | last post by:
I get runtime error 3075 whichis followed by Syntax error(missing operator) in query espression while running this query: SqlStr = "SELECT FCLTY.FCLTY_N, FCLTY.ADDR_LINE_1, FCLTY.CITY_N,...
5
by: MARTINQC | last post by:
"SELECT ., .Category INTO tblSiteGroupActiveTicketRawData FROM .Base = 'AAAA') OR (.Base = 'BBBB')) AND (.Status != 'Closed');" Above SQL string fails with a runtime error 3075 syntax error...
1
by: BinduKatoch | last post by:
One of the entries in my database has "apostrophe" I have a form in access... When i try to select that entry from the table it gives me error "syntax error(missing expression) in query...
5
by: Ledo | last post by:
I have a form that I want to show invoices in a date range. When clicking on the button I get the following error: Run Time Error 3075 Syntax error (missing operator) in query expression...
3
by: adigga1 | last post by:
Hello Experts, I'm about to go grey with this dlookup statement: I'm trying to run a dlookup statement, I have the correct expression string, etc. but when I run it under the Immediate window...
3
by: timber910 | last post by:
Hello All, I'm in need of help here. I have build my query in a query builder in access as a select query. Query runs fine. Changed it to a make table query. Query makes table ok. Copy and pasted...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.