I'm trying to produce a query the will display a list of records of items that do not have a certain value in a connected table. The SQL Code should be something like:
SELECT tblAssets.SerialNum, tblMeterReads.ReadPeriod
FROM tblMeterReads INNER JOIN tblAssets ON tblMeterReads.SerialNumber =...
I got that far, but I can't get it to produce the list in alph. order. Went into datasheet view, ordered the column (from a-z) and saved the changes...doesn't work. When I open form it doesn't relfect the changes. Maybe in I change the SQL code itself. Here is the SQL code;
SELECT...
Forgive me, because I know that this must be a pathetically easy question for may.
For my website, I want to create an icon that when the user clicks on it, bookmarks the website. I want to make sure that, if possible, it works in all browsers.
I would like to put in HTML code.
Thanks!
That was it. I have been creating my queries in Access design view (please do not frawn upon me). I was able to switch to SQL view insert the LEFT JOIN code.
Thanks a lot.
I have a query that should idealy show all of the results from one table and whatever exist in the other.
In other words, not every record in tblOne has a corresponding record in tblTwo. Yet, I need every field in tble need to be listed in the query results.
I don't know if there is an answer...
Should be #06/30/2004#
I have also tried to do the calculation with just the date 06/30/2004.
If fact, for this case it should be something like;
GetNumDaysQ2: IIF(InstallDate>03/01/03, 6/30/04-InstallDate, 90)
But I need to get a whole number value (total number of days)
Thanks in advance
I need to get the total number of days using a query. This would be something like;
GetTimeFrame: [installDate] -#6/30/004#
When I try the above, I just get a crazy date.
If I try to change the properties of the output field to a number, it limits me to choosing a form of date.
Please help!!!!
You nailed it, Zion7. That code worked perfectly. The quotation system is still a little confusing to me. I'm going to have to spend some more time trying understand it better.
Thanks
I tried this code:
stLinkCriteria = "[SerialNumber]='" & Me![cboEditMeterRead] & "' And [ReadPeriod] = '" & Me![cboReadPeriod] & "'"
When I click on the button that runs this code (which should open a new form with the applied filters) I get an "Open Form Action was Cancelled" message.
I...
I've been trying to get more than one filter for a form that opens with two primary key values. I need the new form to open with the two values coresponding to two combo boxes on the first form.
Tried the above sugestion, but I am getting nowhere fast.
Can anyone help?
Greetings,
I'm working on a report that needs to extend to its width length of 22". I'm trying to set up a report that is book style. I can't get the report to show more that 13" in print preview.
Please help!
Roy,
Thank for you input. One last thing that I'm having a problem with.
In the code of Form A I have this code and it works:
Forms!frmMeterReads.txtValid = "True"
And I have this code and it doesn't work:
Forms!frmMeterReads.MonthlyTotalDig = Me!DigMT
I can't figure it out. One thing is is...
Roy,
The problem is the refesh will not save the record and start a new one in the other form. When I run the code that I posted I get an object error. I don't know why it doesn't work.
Greetings,
I am trying to write VBA code that would save the record that is currently in another From. I tried this:
Forms!frmMeterReads.DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Forms!frmMeterReads.DoCmd.GoToRecord , , acNewRec
But I get an error when I execute...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.