67 questions
0 votes
2 answers
60 views
DLookup with Multi Criteria assistance?
I am seeking to create a multi criteria DLookup for my DB and have not had much luck. I have a db, has 1 form with 3 sub forms sort of like a cascading combo. Lets say I put "Test" in first ...
1 vote
0 answers
34 views
DLookup using criteria from 2 other tables
The premise of my database is an automated process for the Championship tables for a motorsport club I am in. There is a Driver table of race number/name and a results table for entering a finishing ...
1 vote
0 answers
93 views
VBA DLookUp returns error 2950: reserved error
I'm using a Excel 2016 with Database Access 2016 too. At home the code run perfectly, but in my office the same file getting a error in this line: varX = DLookup("[Código]", "Campanha&...
0 votes
1 answer
164 views
How to make DLookup faster in Access VBA?
Please bear with me. I am still new to Access VBA. TBL_Orders is an external source = SharePoint list linked where entries are now 5,000+ and will keep having more entries. Ordered_By is a field of ...
-1 votes
1 answer
226 views
Dlookup syntax with multiple criteria including "Like"
I need to create a unique ID based on 4 fields in a table - all are strings, despite 2 that look like numbers. Two of those fields are determined by user input on a form. A 3rd is based on the 2 ...
0 votes
0 answers
50 views
Microsoft Access DLookup alternative to bring in data and make the field editable when needed
I am fairly new with Access so please forgive my newness. The database I am working on is to calculate pay based on piecework from subcontractors. I have been using DLookup to pull the quantity of ...
0 votes
1 answer
176 views
access vba dlookup with dates
I'm trying to work and understand how to deal with dates in ms access vba and tables. I have this variable: Dim locking as Date locking = Now then I proceed and update some table from vba with the ...
0 votes
0 answers
29 views
Microsoft Access dlookup criteria mismatch error
I'm new to access and im creating a search on Microsoft access. It takes the name field has an input to check, then provide a link to a PDF. I've got it working, but I'm trying to add a criteria that ...
0 votes
1 answer
49 views
Can't equate one column in an Access record with another column in the same record
I am working with Access version MS 365 Apps for enterprise (desktop version). When I try to get a specific field value out of my table, I instead get the equivalent to an empty or null result. I'm in ...
0 votes
1 answer
110 views
Is there a way to use a query/VBA to fill in empty cells within a table?
I have a table [RPG] that sometimes contains empty cells after an update. To fill those cells I need to reference another table [SITELIST] and specific fields on that table. It sounds very similar ...
0 votes
0 answers
52 views
Type Mismatch Error when using DLookup on a date field
I feel like I have done adequate research and come up empty handed so I now pass it off to you. Pretty simple, really: I am getting a type mismatch error in the immediate window with the following ...
0 votes
1 answer
129 views
DLookUp not working properly in Microsoft Access
Trying to pull the value in the Query to populate Form Field, not working with what I've tried. Table 1: Quote Data Fields: Quote #, Part #, CNC Hours Table 2: Rate Chart Fields: Rate Type, Cost ($) ...
0 votes
1 answer
39 views
prevent duplicates when passing values between two forms (with Args)
I have two forms: transfert Form with its subform and intransfert Form. I am using DoCmd.OpenForm "intransfert", , , , acFormAdd, acDialog, Me!Text83 (where text83 is =[transfertasubform].[...
1 vote
1 answer
155 views
it is possible to use a dlookup on a public const in vba?
I have about 10 forms in my access and in all of them I need to put some basic information like, date and user, to do that I use the same code on all forms, I'm searching a form to set this ...
0 votes
0 answers
20 views
Join query using between
I have made this work before, but I can not find it and do not remember how. SELECT tblMyData.ID, tblMyData.LineNum, tblBudgetRange.[Budget Name] FROM tblMyData INNER JOIN tblBudgetRange ON ...