ms-access

Where is the database connection information in an ADP file? [closed]

…衆ロ難τιáo~ 提交于 2020-01-03 12:45:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . A user entered a ticket for an OLD Access database and form project that they use daily. They are saying that the database cannot be found when they use it. I haven't used MS Access to design a database or interface since college so I have no idea where to find the database it's trying access. I want to try and

Is there an Access equivalent of the SQL Server NewId() function?

◇◆丶佛笑我妖孽 提交于 2020-01-03 12:03:23
问题 I have written SQL statements (stored in a text document) that load data into a SQL Server database. These statements need to be repeated daily. Some of the statements use the NewId() function to populate a keyed field in the database, and this works fine. While I'm in the process of writing an application to replicate these statements, I want to use Access queries and macros instead of copying and pasting queries into SQL Server, thus saving me time on a daily basis. All is working fine but

suppress write conflict message in Access VBA

时间秒杀一切 提交于 2020-01-03 11:53:33
问题 My problem. I have written a stored procedure to calculate a number of fields that are being presented through a form on an Ms Access front end (to a MSSQL2000 db). as soon as I call Me.Form.Requery to get the changed values. I can the irritating message that I have caused a write conflict. This record has been changed by another user since you started editing it. If you save the record, you will overwrite the changes the other user made. Copying the changed to the clipboard will let you look

iif (Iserror ()) function still returning #error

試著忘記壹切 提交于 2020-01-03 09:18:10
问题 I have the following function that creates a column in my query: MTD: IIf(IsError(FormatNumber([62xx]![F40])),0,FormatNumber([62xx]![F40])) This is linked to an Excel file and where people put numbers and text in the same column (F40 in this example). I need to know if the thing I am looking at is a number or text. If it's text I want a zero, if it is a number I want the number. I know that when I use FormatNumber([C107_62xx]![F40]) on a text line I get an error. I would assume when I get an

Concatenate records and GROUP BY in Access

走远了吗. 提交于 2020-01-03 09:12:46
问题 I have a table like this: title part desc Blah This 1 This begins the Blah This 2 example table. Some Record 1 Hello Another 1 This text extends a bit Another 2 further so it is in Another 3 another record in the Another 4 table In Access, I am looking to build a query/SQL to GROUP BY title and concatenate the desc field so it looks like this: title desc Blah This This begins the example table. Some Record Hello Another This text extends a bit further so it is in another record in the table

Cannot join on Memo, OLE, or Hyperlink Object

爱⌒轻易说出口 提交于 2020-01-03 06:37:06
问题 Database: MS-Access These are my database tables and columns. Table: proje Field Name Type ------------- ----------------------- id Integer(Auto Increment) projeAdi Long Text sirketAdi Long Text Table: calisan Field Name Type ------------- ----------------------- id Integer(Auto Increment) gun Date/Time isTanimi Long Text kulID Integer basSaat Date/Time bitisSaat Date/Time proje Long Text istipi Long Text Sql query: sorgu.Connection = baglanti; baglanti.Open(); sorgu.CommandText = "SELECT *

JSON values extraction from webpage using MSXML2.XMLHTTP

本秂侑毒 提交于 2020-01-03 06:34:11
问题 Currently i am able to extract values from webpage but facing issue json value extraction. I am using following code for other values extraction. On Error Resume Next Set http = CreateObject("MSXML2.XMLHTTP") http.Open "GET", url1234, False http.Send html.body.innerHTML = http.ResponseText brand = html.body.innerText 'MsgBox (brand) Above code is not extracting following values of this url "" : {"0":"B0037RYT96","1":"B0152VYOQ2","2":"B0152WOT70","3":"B003W0NYKS","4":"B0152WOT8Y","5":

MS Access Form where user name is selected from list

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-03 06:18:11
问题 I am going to rephrase a previous question that I had posted: I have built a form in access that allows users to enter in their hours worked by activity (i.e. transactional processing, project time, vacation etc.). The fields on the form are: 1) user name 2) start date 3) end date 4) activity 5) hours spent Is there a way to have this form in such a way that when it is opened up by a user, a prompt automatically appears that forces you to select the user name from a list of users? Than once

Filter and Group Result Between Time Ranges

白昼怎懂夜的黑 提交于 2020-01-03 05:56:09
问题 timesetup table (Unnormalized), this table is for time conditioning that used for filtering result | time_id | period_from | period_to | session1_from | session1_to | session2_from | session2_to | session3_from | session3_to | session4_from | session4_to | session5_from | session5_to | |---------|-------------|------------|---------------|-------------|---------------|-------------|---------------|-------------|---------------|-------------|---------------|-------------| | 1 | 10/09/2015 | 11

Excel VBA import data to existing Access database

时间秒杀一切 提交于 2020-01-03 05:41:06
问题 I've found similar questions asked before, but I can't seem to figure it out using those examples. I'm writing a macro in Excel where the last step needs to import all the data in Sheet1!A:Q (headers in row 1) to Table1 in an Access database. I need to make sure each column in Excel corresponds to the correct field in Access. I am using Excel 2010/2013 and Access 2010/2013. Code I am currently using is: Sub AccImport() Dim acc As New Access.Application acc.OpenCurrentDatabase "C:\Users